Commit 2cd7450f authored by Sam Lantinga's avatar Sam Lantinga

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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40552
parent dc970b94
......@@ -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 ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment