comparison src/video/windows/SDL_windowsmodes.c @ 5152:be02be2ea897

Making the API simpler, removed support for palettized video modes and textures.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 01 Feb 2011 21:23:43 -0800
parents c2539ff054c8
children f908e06b3c96
comparison
equal deleted inserted replaced
5151:5429daf5e3f9 5152:be02be2ea897
129 mode->format = SDL_PIXELFORMAT_INDEX4LSB; 129 mode->format = SDL_PIXELFORMAT_INDEX4LSB;
130 break; 130 break;
131 } 131 }
132 } 132 }
133 } 133 }
134 if (SDL_ISPIXELFORMAT_INDEXED(mode->format)) {
135 /* We don't support palettized modes now */
136 return SDL_FALSE;
137 }
134 return SDL_TRUE; 138 return SDL_TRUE;
135 } 139 }
136 140
137 static SDL_bool 141 static SDL_bool
138 WIN_AddDisplay(LPTSTR DeviceName) 142 WIN_AddDisplay(LPTSTR DeviceName)