mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
[buffer_storage] Require GLEW 1.10 which has the new OpenGL 4.4 methods. Fixes linux build.
This commit is contained in:
@ -10,13 +10,14 @@ macro(test_glew)
|
||||
#include <GL/glew.h>
|
||||
int main()
|
||||
{
|
||||
#ifdef GLEW_ARB_shader_image_load_store
|
||||
#ifdef GLEW_ARB_buffer_storage
|
||||
return 0;
|
||||
#else
|
||||
return 1;
|
||||
#endif
|
||||
}"
|
||||
GLEW_HAS_1_9_METHODS)
|
||||
GLEW_HAS_1_10_METHODS)
|
||||
|
||||
endmacro()
|
||||
|
||||
if(PKG_CONFIG_FOUND AND NOT ${var}_FOUND)
|
||||
@ -25,7 +26,7 @@ endif()
|
||||
|
||||
if(GLEW_FOUND)
|
||||
test_glew()
|
||||
if (GLEW_HAS_1_9_METHODS)
|
||||
if (GLEW_HAS_1_10_METHODS)
|
||||
include_directories(${GLEW_INCLUDE_DIRS})
|
||||
message("GLEW found")
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user