Mercurial > sdl-ios-xcode
comparison src/video/wincommon/SDL_lowvideo.h @ 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 |
---|---|
49 #define _THIS SDL_VideoDevice *this | 49 #define _THIS SDL_VideoDevice *this |
50 | 50 |
51 #define WINDIB_FULLSCREEN() \ | 51 #define WINDIB_FULLSCREEN() \ |
52 ( \ | 52 ( \ |
53 SDL_VideoSurface && \ | 53 SDL_VideoSurface && \ |
54 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ | 54 (SDL_VideoSurface->flags & SDL_FULLSCREEN) && \ |
55 (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \ | 55 ((SDL_VideoSurface->flags & SDL_INTERNALOPENGL) || \ |
56 ((SDL_strcmp(this->name, "windib") == 0) || \ | 56 ((SDL_strcmp(this->name, "windib") == 0) || \ |
57 (SDL_strcmp(this->name, "gapi") == 0))) \ | 57 (SDL_strcmp(this->name, "gapi") == 0))) \ |
58 ) | 58 ) |
59 #define DDRAW_FULLSCREEN() \ | 59 #define DDRAW_FULLSCREEN() \ |
60 ( \ | 60 ( \ |
61 SDL_VideoSurface && \ | 61 SDL_VideoSurface && \ |
62 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ | 62 (SDL_VideoSurface->flags & SDL_FULLSCREEN) && \ |
63 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ | 63 (SDL_VideoSurface->flags & SDL_INTERNALOPENGL) && \ |
64 (SDL_strcmp(this->name, "directx") == 0) \ | 64 (SDL_strcmp(this->name, "directx") == 0) \ |
65 ) | 65 ) |
66 | 66 |
67 #define DINPUT_FULLSCREEN() DDRAW_FULLSCREEN() | 67 #define DINPUT_FULLSCREEN() DDRAW_FULLSCREEN() |
68 | 68 |
69 /* The main window -- and a function to set it for the audio */ | 69 /* The main window -- and a function to set it for the audio */ |