diff options
author | Sven Gothel <[email protected]> | 2001-04-06 10:12:40 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2001-04-06 10:12:40 +0000 |
commit | fd8682b066651abf71067c4d4266ffee302b69f6 (patch) | |
tree | 47cf449b25400628d61092a946270ead036e0d1e /CNativeCode/glcaps.h | |
parent | ee8232711affbf052576b038aee079250c985416 (diff) |
2.7.0 release ..
Diffstat (limited to 'CNativeCode/glcaps.h')
-rwxr-xr-x | CNativeCode/glcaps.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/CNativeCode/glcaps.h b/CNativeCode/glcaps.h new file mode 100755 index 0000000..e8df37b --- /dev/null +++ b/CNativeCode/glcaps.h @@ -0,0 +1,57 @@ +#ifndef _GLCAPS_H + /** + * glcaps.h + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + */ + + #define _GLCAPS_H + + #ifndef LIBAPIENTRY + #define LIBAPIENTRY + #endif + #ifndef LIBAPI + #define LIBAPI extern + #endif + + #define BUFFER_SINGLE 0 + #define BUFFER_DOUBLE 1 + + #define COLOR_INDEX 0 + #define COLOR_RGBA 1 + + #define STEREO_OFF 0 + #define STEREO_ON 1 + + typedef struct { + int buffer; + int color; + int stereo; + int depthBits; + int stencilBits; + + int redBits; + int greenBits; + int blueBits; + int alphaBits; + int accumRedBits; + int accumGreenBits; + int accumBlueBits; + int accumAlphaBits; + + /* internal use only */ + int gl_supported; + long nativeVisualID; + } GLCapabilities; + + /** + * prints the contents of the GLCapabilities to stdout ! + */ + LIBAPI void LIBAPIENTRY printGLCapabilities ( GLCapabilities *glCaps ); +#endif |