2 * $Id: video_gl.h,v 1.1 2007-01-14 02:55:06 nkeynes Exp $
4 * Parent for all X11 display drivers.
6 * Copyright (c) 2005 Nathan Keynes.
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.
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.
19 #ifndef video_gl_common_H
20 #define video_gl_common_H
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.
28 gboolean isGLExtensionSupported( const char *extension );
30 gboolean hasRequiredGLExtensions();
32 #endif /* !video_gl_common_H */
.