Doh! Compile error if there was no X11 shared image support

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40552
This commit is contained in:
Sam Lantinga 2002-12-02 01:47:03 +00:00
parent dc970b9478
commit 2cd7450f7b

View file

@ -103,8 +103,9 @@ int X11_SetupImage(_THIS, SDL_Surface *screen)
}
this->UpdateRects = X11_MITSHMUpdate;
}
if(!use_mitshm)
#endif /* not NO_SHARED_MEMORY */
if(!use_mitshm) {
{
int bpp;
screen->pixels = malloc(screen->h*screen->pitch);
if ( screen->pixels == NULL ) {