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