[gtk+/wip/otte/vulkan: 19/42] gdk: Never draw with GL



commit 3b0cd8856a57ad7acdba17a1a552dd848cdfde20
Author: Benjamin Otte <otte redhat com>
Date:   Tue Nov 22 19:45:04 2016 +0100

    gdk: Never draw with GL
    
    This is a temporary switch-off of the GL dawing code that will make
    things keep running. All GL related code (like the GSK renderer or
    GtkGLArea will now fall back to software.

 gdk/gdkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 53079d3..c38261a 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -2723,7 +2723,7 @@ gdk_window_begin_paint_internal (GdkWindow            *window,
 
   surface_content = gdk_window_get_content (window);
 
-  window->current_paint.use_gl = window->impl_window->gl_paint_context != NULL;
+  window->current_paint.use_gl = FALSE;
 
   if (window->current_paint.use_gl)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]