comparison src/video/wincommon/SDL_sysevents.c @ 1658:e49147870aac SDL-1.3

glSDL support
author Sam Lantinga <slouken@libsdl.org>
date Mon, 01 May 2006 06:58:33 +0000
parents 21b1fbb53f4a
children 782fd950bd46
comparison
equal deleted inserted replaced
1657:5b0805ceb50f 1658:e49147870aac
682 HDC hdc; 682 HDC hdc;
683 PAINTSTRUCT ps; 683 PAINTSTRUCT ps;
684 684
685 hdc = BeginPaint(SDL_Window, &ps); 685 hdc = BeginPaint(SDL_Window, &ps);
686 if ( current_video->screen && 686 if ( current_video->screen &&
687 !(current_video->screen->flags & SDL_OPENGL) ) { 687 !(current_video->screen->flags & SDL_INTERNALOPENGL) ) {
688 WIN_WinPAINT(current_video, hdc); 688 WIN_WinPAINT(current_video, hdc);
689 } 689 }
690 EndPaint(SDL_Window, &ps); 690 EndPaint(SDL_Window, &ps);
691 } 691 }
692 return(0); 692 return(0);