diff options
-rw-r--r-- | src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp b/src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp index 4a204123e1..246a589372 100644 --- a/src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp +++ b/src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp @@ -10,6 +10,8 @@ #include "gl/GrGLAssembleInterface.h" #include "gl/GrGLUtil.h" +// Define this to get a prototype for glXGetProcAddress on some systems +#define GLX_GLXEXT_PROTOTYPES 1 #include <GL/glx.h> static GrGLFuncPtr glx_get(void* ctx, const char name[]) { |