src/video/x11/SDL_x11modes.c
changeset 1951 7177581dc9fa
parent 1950 a344e42bce3b
child 2859 99210400e8b9
--- 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;