filename | src/drivers/video_gl.h |
changeset | 280:715202395e0f |
author | nkeynes |
date | Sun Jan 28 11:36:00 2007 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Invalidate palette textures when the palette changes (fixes a few texture bugs) Fix odd/even selection in pvr2_display_frame |
view | annotate | diff | log | raw |
1 /**
2 * $Id: video_gl.h,v 1.1 2007-01-14 02:55:06 nkeynes Exp $
3 *
4 * Parent for all X11 display drivers.
5 *
6 * Copyright (c) 2005 Nathan Keynes.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 */
19 #ifndef video_gl_common_H
20 #define video_gl_common_H
23 /**
24 * Test if a specific extension is supported. From opengl.org
25 * @param extension extension name to check for
26 * @return TRUE if supported, otherwise FALSE.
27 */
28 gboolean isGLExtensionSupported( const char *extension );
30 gboolean hasRequiredGLExtensions();
32 #endif /* !video_gl_common_H */
.