nkeynes@280: /** nkeynes@280: * $Id: video_gl.h,v 1.1 2007-01-14 02:55:06 nkeynes Exp $ nkeynes@280: * nkeynes@280: * Parent for all X11 display drivers. nkeynes@280: * nkeynes@280: * Copyright (c) 2005 Nathan Keynes. nkeynes@280: * nkeynes@280: * This program is free software; you can redistribute it and/or modify nkeynes@280: * it under the terms of the GNU General Public License as published by nkeynes@280: * the Free Software Foundation; either version 2 of the License, or nkeynes@280: * (at your option) any later version. nkeynes@280: * nkeynes@280: * This program is distributed in the hope that it will be useful, nkeynes@280: * but WITHOUT ANY WARRANTY; without even the implied warranty of nkeynes@280: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nkeynes@280: * GNU General Public License for more details. nkeynes@280: */ nkeynes@280: nkeynes@280: #ifndef video_gl_common_H nkeynes@280: #define video_gl_common_H nkeynes@280: nkeynes@280: nkeynes@280: /** nkeynes@280: * Test if a specific extension is supported. From opengl.org nkeynes@280: * @param extension extension name to check for nkeynes@280: * @return TRUE if supported, otherwise FALSE. nkeynes@280: */ nkeynes@280: gboolean isGLExtensionSupported( const char *extension ); nkeynes@280: nkeynes@280: gboolean hasRequiredGLExtensions(); nkeynes@280: nkeynes@280: #endif /* !video_gl_common_H */