diff src/video/x11/SDL_x11window.c @ 5185:073b86030262

Added the X11 framebuffer implementation. Simple! :)
author Sam Lantinga <slouken@libsdl.org>
date Fri, 04 Feb 2011 18:05:20 -0800
parents 455bc74f7034
children 227d81a4b66c
line wrap: on
line diff
--- a/src/video/x11/SDL_x11window.c	Fri Feb 04 16:55:50 2011 -0800
+++ b/src/video/x11/SDL_x11window.c	Fri Feb 04 18:05:20 2011 -0800
@@ -176,6 +176,7 @@
         } else {
             window->flags &= ~SDL_WINDOW_SHOWN;
         }
+        data->visual = attrib.visual;
     }
 
     {