From cd312f3024e7893d858fb367688a659234da5b43 Mon Sep 17 00:00:00 2001 From: root <edgar.baucher@bordeaux-inp.fr> Date: Fri, 11 Feb 2022 17:43:53 +0100 Subject: [PATCH] Use only opengl (without vbo) --- CMakeLists.txt | 2 +- src/render/opengl/Render_opengl.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c1b4e56..b47c3640 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -134,7 +134,7 @@ cmake_dependent_option(USE_OPENGL "Use OpenGL as renderer module" ON "NOT USE_VULKAN" OFF) #OpenGL with VBO -cmake_dependent_option(VITE_ENABLE_VBO "Enable the support of VBO." ON +cmake_dependent_option(VITE_ENABLE_VBO "Enable the support of VBO." OFF USE_OPENGL OFF) #Vulkan diff --git a/src/render/opengl/Render_opengl.cpp b/src/render/opengl/Render_opengl.cpp index 9e49b6b4..d7276ce6 100644 --- a/src/render/opengl/Render_opengl.cpp +++ b/src/render/opengl/Render_opengl.cpp @@ -54,7 +54,7 @@ #ifdef __APPLE__ #include <OpenGL/glu.h> #else -#include <GL/glu.h> +#include <GL/glew.h> #endif /* -- */ #include <QFile> // For loading the wait image -- GitLab