glcontext: fix get_current_gl_api() on win32
Another case of incorrect calling conventions. Using this function on win32 would corrupt the stack pointer and end in massive hilarity.
This commit is contained in:
parent
d3f3787d64
commit
8a67cd90b3
@ -537,9 +537,9 @@ GstGLAPI
|
||||
gst_gl_context_get_current_gl_api (GstGLPlatform platform, guint * major,
|
||||
guint * minor)
|
||||
{
|
||||
const GLubyte *(*GetString) (GLenum name);
|
||||
const GLubyte *(GSTGLAPI *GetString) (GLenum name);
|
||||
#if GST_GL_HAVE_OPENGL
|
||||
void (*GetIntegerv) (GLenum name, GLuint * n);
|
||||
void (GSTGLAPI *GetIntegerv) (GLenum name, GLuint * n);
|
||||
#endif
|
||||
const gchar *version;
|
||||
gint maj, min, n;
|
||||
|
Loading…
x
Reference in New Issue
Block a user