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