Open source remastering of the Freespace 2 engine
gropenglextension.cpp File Reference

Go to the source code of this file.


#define GET_PROC_ADDRESS(x)   SDL_GL_GetProcAddress((x))


ogl_functionget_ogl_function (const char *name)
int opengl_get_extensions ()
void opengl_extensions_init ()


char * OGL_extension_string = NULL
ogl_extension GL_Extensions [NUM_OGL_EXTENSIONS]
ogl_function GL_Functions [NUM_OGL_FUNCTIONS]
ogl_function GL_EXT_Special [NUM_OGL_EXT_SPECIAL]
int OGL_fogmode

Macro Definition Documentation

#define GET_PROC_ADDRESS (   x)    SDL_GL_GetProcAddress((x))

Definition at line 278 of file gropenglextension.cpp.

Function Documentation

ogl_function* get_ogl_function ( const char *  name)

Definition at line 312 of file gropenglextension.cpp.

void opengl_extensions_init ( )

Definition at line 401 of file gropenglextension.cpp.

int opengl_get_extensions ( )

Definition at line 329 of file gropenglextension.cpp.

Variable Documentation

Initial value:
= {
{ "wglSwapIntervalEXT", 0 },
{ "glXSwapIntervalSGI", 0 }

Definition at line 269 of file gropenglextension.cpp.

Definition at line 37 of file gropenglextension.cpp.

Definition at line 176 of file gropenglextension.cpp.

char* OGL_extension_string = NULL

Definition at line 26 of file gropenglextension.cpp.

int OGL_fogmode

Definition at line 66 of file gropengl.cpp.