src/video/SDL_video.c
changeset 1190 173c063d4f55
parent 1187 19d8949b4584
child 1210 8609567ea02f
     1.1 --- a/src/video/SDL_video.c	Wed Nov 23 07:23:48 2005 +0000
     1.2 +++ b/src/video/SDL_video.c	Wed Nov 23 07:29:56 2005 +0000
     1.3 @@ -126,6 +126,9 @@
     1.4  #ifdef ENABLE_RISCOS
     1.5      &RISCOS_bootstrap,
     1.6  #endif
     1.7 +#ifdef __OS2__
     1.8 +	&OS2FSLib_bootstrap,
     1.9 +#endif
    1.10  #ifdef ENABLE_DUMMYVIDEO
    1.11  	&DUMMY_bootstrap,
    1.12  #endif
    1.13 @@ -664,7 +667,10 @@
    1.14  	SDL_VideoSurface = NULL;	/* In case it's freed by driver */
    1.15  	mode = video->SetVideoMode(this, prev_mode,video_w,video_h,video_bpp,flags);
    1.16  	if ( mode ) { /* Prevent resize events from mode change */
    1.17 +          /* But not on OS/2 */
    1.18 +#ifndef __OS2__
    1.19  	    SDL_PrivateResize(mode->w, mode->h);
    1.20 +#endif
    1.21  
    1.22  	    /* Sam - If we asked for OpenGL mode, and didn't get it, fail */
    1.23  	    if ( is_opengl && !(mode->flags & SDL_OPENGL) ) {