diff options
author | Matthew Waters <ystreet00@gmail.com> | 2014-03-16 15:06:37 +0100 |
---|---|---|
committer | Matthew Waters <ystreet00@gmail.com> | 2014-03-16 15:17:44 +0100 |
commit | 870503dc6bb5f8ea59a2605ded81e5c28ffde58c (patch) | |
tree | c888809a446597dcdfd38d7c21d5fbee9b5047d9 /gst-libs/gst/gl/gstglcontext.c | |
parent | 4bdf5f336a18d0fe7dd4d8311c91e6260e7dfa5d (diff) | |
download | gstreamer-plugins-bad-870503dc6bb5f8ea59a2605ded81e5c28ffde58c.tar.gz |
gl: silence all the compiler warnings
Diffstat (limited to 'gst-libs/gst/gl/gstglcontext.c')
-rw-r--r-- | gst-libs/gst/gl/gstglcontext.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index b8b613c2d..34b14b82f 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -585,7 +585,7 @@ _create_context_gles2 (GstGLContext * context, gint * gl_major, gint * gl_minor, return TRUE; } -gboolean +static gboolean _create_context_opengl (GstGLContext * context, gint * gl_major, gint * gl_minor, GError ** error) { @@ -631,7 +631,7 @@ _create_context_opengl (GstGLContext * context, gint * gl_major, return TRUE; } -GstGLAPI +static GstGLAPI _compiled_api (void) { GstGLAPI ret = GST_GL_API_NONE; @@ -999,13 +999,3 @@ static void gst_gl_wrapped_context_init (GstGLWrappedContext * context) { } - -/* Must be called in the gl thread */ -GstGLWrappedContext * -gst_gl_wrapped_context_new (void) -{ - GstGLWrappedContext *context = - g_object_new (GST_GL_TYPE_WRAPPED_CONTEXT, NULL); - - return context; -} |