Search
lxdream.org :: lxdream/src/drivers/video_gl.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
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
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/drivers/video_gl.h Sun Jan 14 02:55:06 2007 +0000
1.3 @@ -0,0 +1,32 @@
1.4 +/**
1.5 + * $Id: video_gl.h,v 1.1 2007-01-14 02:55:06 nkeynes Exp $
1.6 + *
1.7 + * Parent for all X11 display drivers.
1.8 + *
1.9 + * Copyright (c) 2005 Nathan Keynes.
1.10 + *
1.11 + * This program is free software; you can redistribute it and/or modify
1.12 + * it under the terms of the GNU General Public License as published by
1.13 + * the Free Software Foundation; either version 2 of the License, or
1.14 + * (at your option) any later version.
1.15 + *
1.16 + * This program is distributed in the hope that it will be useful,
1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.19 + * GNU General Public License for more details.
1.20 + */
1.21 +
1.22 +#ifndef video_gl_common_H
1.23 +#define video_gl_common_H
1.24 +
1.25 +
1.26 +/**
1.27 + * Test if a specific extension is supported. From opengl.org
1.28 + * @param extension extension name to check for
1.29 + * @return TRUE if supported, otherwise FALSE.
1.30 + */
1.31 +gboolean isGLExtensionSupported( const char *extension );
1.32 +
1.33 +gboolean hasRequiredGLExtensions();
1.34 +
1.35 +#endif /* !video_gl_common_H */
.