annotate src/video/glsdl/SDL_glsdl.h @ 1703:a51dfda0ff33 SDL-1.3

Merged SDL_GL_SWAP_CONTROL fix from SDL 1.2
author Sam Lantinga <slouken@libsdl.org>
date Sat, 24 Jun 2006 02:48:55 +0000
parents 782fd950bd46
children
rev   line source
1658
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 /*
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 Copyright (C) 1997-2006 Sam Lantinga
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 modify it under the terms of the GNU Lesser General Public
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 version 2.1 of the License, or (at your option) any later version.
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 Lesser General Public License for more details.
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 You should have received a copy of the GNU Lesser General Public
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 License along with this library; if not, write to the Free Software
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 Sam Lantinga
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 slouken@libsdl.org
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 */
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22 #include "SDL_config.h"
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 /*
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25 * glSDL "SDL-over-OpenGL" video driver implemented by
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26 * David Olofson <david@olofson.net> and
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27 * Stephane Marchesin <stephane.marchesin@wanadoo.fr>
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
28 */
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
29
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
30 #ifndef _SDL_gl_h
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
31 #define _SDL_gl_h
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
32
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
33 #include "../SDL_sysvideo.h"
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
34
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
35 /* Hidden "this" pointer for the video functions */
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
36 #define _THIS SDL_VideoDevice *this
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
37
e49147870aac glSDL support
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
38 #endif /* _SDL_gl_h */
1662
782fd950bd46 Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
Sam Lantinga <slouken@libsdl.org>
parents: 1658
diff changeset
39 /* vi: set ts=4 sw=4 expandtab: */