mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
gl/win32: use the correct include and gst-indent
This commit is contained in:
parent
385ae4ace1
commit
45c94fa750
1 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@
|
||||||
#include <gst/gl/gstglcontext.h>
|
#include <gst/gl/gstglcontext.h>
|
||||||
|
|
||||||
#include "gstglcontext_wgl.h"
|
#include "gstglcontext_wgl.h"
|
||||||
#include <gl/wglext.h>
|
#include <GL/wglext.h>
|
||||||
|
|
||||||
#define gst_gl_context_wgl_parent_class parent_class
|
#define gst_gl_context_wgl_parent_class parent_class
|
||||||
G_DEFINE_TYPE (GstGLContextWGL, gst_gl_context_wgl, GST_GL_TYPE_CONTEXT);
|
G_DEFINE_TYPE (GstGLContextWGL, gst_gl_context_wgl, GST_GL_TYPE_CONTEXT);
|
||||||
|
@ -143,11 +143,11 @@ gst_gl_context_wgl_create_context (GstGLContext * context,
|
||||||
(unsigned int) GetLastError ());
|
(unsigned int) GetLastError ());
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
} else if (!wglShareLists (external_gl_context, context_wgl->wgl_context)){
|
} else if (!wglShareLists (external_gl_context, context_wgl->wgl_context)) {
|
||||||
g_set_error (error, GST_GL_CONTEXT_ERROR,
|
g_set_error (error, GST_GL_CONTEXT_ERROR,
|
||||||
GST_GL_CONTEXT_ERROR_CREATE_CONTEXT,
|
GST_GL_CONTEXT_ERROR_CREATE_CONTEXT,
|
||||||
"failed to share contexts through wglShareLists 0x%x",
|
"failed to share contexts through wglShareLists 0x%x",
|
||||||
(unsigned int) GetLastError ());
|
(unsigned int) GetLastError ());
|
||||||
goto failure;
|
goto failure;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue