mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
Doh! Compile error if there was no X11 shared image support
This commit is contained in:
parent
918f1dc76c
commit
1ab4ea9aa8
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user