Search
lxdream.org :: lxdream/src/drivers/video_gl.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_gl.h
changeset 280:715202395e0f
author nkeynes
date Tue Jan 23 11:21:21 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Change default mode to BGR, not RGB
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 */
.