[610/906] WindowX11EGL: remove get_platform call
authorMatthew Waters <ystreet00@gmail.com>
Thu, 15 Nov 2012 10:46:21 +0000 (21:46 +1100)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:50 +0000 (18:36 +0100)
gst-libs/gst/gl/gstglwindow_x11_egl.c

index 28a93fd..1865f29 100644 (file)
@@ -48,17 +48,12 @@ static gboolean gst_gl_window_x11_egl_create_context (GstGLWindowX11 *
 static void gst_gl_window_x11_egl_destroy_context (GstGLWindowX11 * window_x11);
 static gboolean gst_gl_window_x11_egl_choose_format (GstGLWindowX11 *
     window_x11);
-static GstGLPlatform gst_gl_window_x11_egl_get_platform (GstGLWindow * window);
 
 static void
 gst_gl_window_x11_egl_class_init (GstGLWindowX11EGLClass * klass)
 {
-  GstGLWindowClass *window_class = (GstGLWindowClass *) klass;
   GstGLWindowX11Class *window_x11_class = (GstGLWindowX11Class *) klass;
 
-  window_class->get_platform =
-      GST_DEBUG_FUNCPTR (gst_gl_window_x11_egl_get_platform);
-
   window_x11_class->get_gl_context =
       GST_DEBUG_FUNCPTR (gst_gl_window_x11_egl_get_gl_context);
   window_x11_class->activate =
@@ -91,12 +86,6 @@ gst_gl_window_x11_egl_new (GstGLRendererAPI render_api,
   return window;
 }
 
-static GstGLPlatform
-gst_gl_window_x11_egl_get_platform (GstGLWindow * window)
-{
-  return GST_GL_PLATFORM_EGL;
-}
-
 static gboolean
 gst_gl_window_x11_egl_choose_format (GstGLWindowX11 * window_x11)
 {