[gtk+/wip/otte/gl-drawing: 7/15] gdk: Never draw with GL



commit e15559706af7a465e5d073e9938062aeb5adfb6a
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 25c4366..fe44a61 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -2719,7 +2719,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]