diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c1b4e562be6ea4bab35de6582f34e3674fbec8f..b47c364009c3dd57ca035938c41b0c0ce1f145a0 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 9e49b6b419c2f4607be84d4ff44f697f2a1b260b..d7276ce637bdc2e3ae146412bae5a0feb2ebd167 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