Xserver-gimp: support for 16bpp color depth, unfinished shared memory support

This commit is contained in:
Sergii Pylypenko
2013-11-15 23:37:53 +02:00
parent b685d5c265
commit 2420ce5caa
7 changed files with 27 additions and 8 deletions

View File

@@ -394,7 +394,7 @@ void showErrorMessage(const char *msg)
void XSDL_initSDL()
{
SDL_Init(SDL_INIT_VIDEO);
SDL_SetVideoMode(VID_X, VID_Y, 24, SDL_SWSURFACE);
SDL_SetVideoMode(VID_X, VID_Y, 0, SDL_SWSURFACE);
TTF_Init();
sFont = TTF_OpenFont("DroidSansMono.ttf", 12);
if (!sFont)