mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
glapi: fix compilation with latest MSVC
https://bugzilla.gnome.org/show_bug.cgi?id=743041
This commit is contained in:
parent
e3d3049641
commit
2e3d26192f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
#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
|
||||||
|
|
Loading…
Reference in a new issue