projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3d3049
)
glapi: fix compilation with latest MSVC
author
Lasse Laursen
<lasse@lasselaursen.com>
Fri, 16 Jan 2015 23:06:40 +0000
(10:06 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:52 +0000
(19:31 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=743041
gst-libs/gst/gl/gstglapi.h
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglapi.h
b/gst-libs/gst/gl/gstglapi.h
index
d3cc522
..
c260590
100644
(file)
--- a/
gst-libs/gst/gl/gstglapi.h
+++ b/
gst-libs/gst/gl/gstglapi.h
@@
-76,7
+76,7
@@
# endif
# else
# include <GL/gl.h>
-# if
__WIN32__ || _WIN32
+# if
defined(__WIN32__) || defined(_WIN32)
# include <GL/glext.h>
# endif
# endif
@@
-123,7
+123,7
@@
typedef enum
#define GST_GL_EXT_BEGIN(name, gl_availability, min_gl, maj_gl, gles_maj, \
gles_min, ext_suf, ext_name)
#define GST_GL_EXT_FUNCTION(ret, name, args) \
- ret
GSTGLAPI (
*name) args;
+ ret
(GSTGLAPI
*name) args;
#define GST_GL_EXT_END()
typedef struct _GstGLFuncs