We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0d4ea3 commit a8f4a71Copy full SHA for a8f4a71
1 file changed
lib/gl_funcs.c
@@ -108,7 +108,7 @@ struct glFuncPtrs gl;
108
#define GL_FUNCTION(type, func, required) \
109
if ( wglGetProcAddressPtr ) \
110
gl.func = (type)wglGetProcAddressPtr(#func); \
111
- if ( !gl.##func) \
+ if ( !gl.func) \
112
gl.func = (type)LoadProcAddr(ktxOpenGLModuleHandle, #func); \
113
if ( !gl.func && required) { \
114
fprintf(stderr, noloadmsg, #func); \
0 commit comments