diff src/video/x11/SDL_x11modes.c @ 1951:7177581dc9fa

Initial work on X11 window code in.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Jul 2006 06:53:23 +0000
parents a344e42bce3b
children 99210400e8b9
line wrap: on
line diff
--- a/src/video/x11/SDL_x11modes.c	Wed Jul 26 06:34:54 2006 +0000
+++ b/src/video/x11/SDL_x11modes.c	Thu Jul 27 06:53:23 2006 +0000
@@ -106,6 +106,7 @@
         }
         displaydata->screen = screen;
         displaydata->visual = vinfo.visual;
+        displaydata->depth = vinfo.depth;
 
         SDL_zero(display);
         display.desktop_mode = mode;