Commit 174ea7af authored by Lasse Laursen's avatar Lasse Laursen Committed by Matthew Waters
Browse files

glapi: fix compilation with latest MSVC

https://bugzilla.gnome.org/show_bug.cgi?id=743041
parent 989af902
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
# endif # endif
# else # else
# include <GL/gl.h> # include <GL/gl.h>
# if __WIN32__ || _WIN32 # if defined(__WIN32__) || defined(_WIN32)
# include <GL/glext.h> # include <GL/glext.h>
# endif # endif
# endif # endif
...@@ -123,7 +123,7 @@ typedef enum ...@@ -123,7 +123,7 @@ typedef enum
#define GST_GL_EXT_BEGIN(name, gl_availability, min_gl, maj_gl, gles_maj, \ #define GST_GL_EXT_BEGIN(name, gl_availability, min_gl, maj_gl, gles_maj, \
gles_min, ext_suf, ext_name) gles_min, ext_suf, ext_name)
#define GST_GL_EXT_FUNCTION(ret, name, args) \ #define GST_GL_EXT_FUNCTION(ret, name, args) \
ret GSTGLAPI (*name) args; ret (GSTGLAPI *name) args;
#define GST_GL_EXT_END() #define GST_GL_EXT_END()
typedef struct _GstGLFuncs typedef struct _GstGLFuncs
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment