From 9e22a5e0e6bc1f7d01683769422baf2f20445238 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Sat, 21 Nov 2009 13:32:59 +0100 Subject: [PATCH] [407/906] winCE backend: fix build --- gst-libs/gst/gl/gstglwindow_winCE.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/gstglwindow_winCE.c b/gst-libs/gst/gl/gstglwindow_winCE.c index 58161de3d2..bec4a00669 100644 --- a/gst-libs/gst/gl/gstglwindow_winCE.c +++ b/gst-libs/gst/gl/gstglwindow_winCE.c @@ -206,7 +206,7 @@ gst_gl_window_get_internal_gl_context (GstGLWindow * window) void callback_activate_gl_context (GstGLWindowPrivate * priv) { - if (!eglMakeCurrent (priv->gl_display, priv->gl_surface, priv->gl_surface, + if (!eglMakeCurrent (priv->display, priv->surface, priv->surface, priv->gl_context)) g_debug ("failed to activate opengl context %lud\n", GetLastError ()); } @@ -214,7 +214,7 @@ callback_activate_gl_context (GstGLWindowPrivate * priv) void callback_inactivate_gl_context (GstGLWindowPrivate * priv) { - if (!eglMakeCurrent (priv->device, EGL_NO_SURFACE, EGL_NO_SURFACE, + if (!eglMakeCurrent (priv->display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT)) g_debug ("failed to inactivate opengl context %lud\n", GetLastError ()); }