}
else
{
- mainSurface = SDL_SetVideoMode(width, height, 16, mainSurfaceFlags);
+ mainSurface = SDL_SetVideoMode(width, height, 32, mainSurfaceFlags);
if (mainSurface == NULL)
{
//
// Return the screen's pitch
//
-uint32 GetSDLScreenPitch(void)
+/*uint32 GetSDLScreenPitch(void)
{
return surface->pitch;
-}
+}*/
//
// Return the screen's width in pixels
if (vjs.fullscreen)
mainSurfaceFlags |= SDL_FULLSCREEN;
- mainSurface = SDL_SetVideoMode(tom_width, tom_height, 16, mainSurfaceFlags);
+ mainSurface = SDL_SetVideoMode(tom_width, tom_height, 32, mainSurfaceFlags);
if (mainSurface == NULL)
{