Commit 3c2aefdd authored by William Hua's avatar William Hua

mir: fix type warning

parent 32b3928e
......@@ -691,7 +691,7 @@ gdk_mir_display_make_gl_context_current (GdkDisplay *display,
mir_context = GDK_MIR_GL_CONTEXT (context);
window = gdk_gl_context_get_window (context);
if (mir_context->is_attached || gdk_draw_context_is_drawing (context))
if (mir_context->is_attached || gdk_draw_context_is_drawing (GDK_DRAW_CONTEXT (context)))
{
egl_surface = _gdk_mir_window_get_egl_surface (window,
mir_context->egl_config);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment