diff src/video/SDL_video.c @ 1682:7ae8018b2e5d SDL-1.3

Default palette entries to white, instead of black. More palettized video mode support...
author Sam Lantinga <slouken@libsdl.org>
date Fri, 16 Jun 2006 06:00:31 +0000
parents 80a5e6a4e1e2
children 396a35389351
line wrap: on
line diff
--- a/src/video/SDL_video.c	Thu Jun 15 07:07:07 2006 +0000
+++ b/src/video/SDL_video.c	Fri Jun 16 06:00:31 2006 +0000
@@ -333,6 +333,7 @@
     if (displays) {
         index = _this->num_displays++;
         displays[index] = *display;
+        displays[index].device = _this;
         _this->displays = displays;
     } else {
         SDL_OutOfMemory();