|
Unofficial OpenGL Software Development Kit 0.4.0
|
00001 00002 #ifndef GLSDL_LOAD_H 00003 #define GLSDL_LOAD_H 00004 00011 00012 00013 00018 enum LoadSucceeded 00019 { 00020 LS_LOAD_FUNCTIONS_ALL, 00021 LS_LOAD_FUNCTIONS_SOME, 00022 LS_LOAD_FAILED, 00023 }; 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif //__cplusplus 00028 00039 int LoadFunctions(); 00040 00041 #ifdef WIN32 00042 00047 int LoadWinFunctions(void *hdc); 00048 #endif //WIN32 00049 #ifdef GLX_H 00050 00055 int LoadGLXFunctions(void *display, int screen); 00056 #endif 00057 00061 int GetMajorVersion(); 00062 00066 int GetMinorVersion(); 00067 00069 int IsVersionGEQ(int iMajorVersion, int iMinorVersion); 00071 00072 #ifdef __cplusplus 00073 } 00074 #endif //__cplusplus 00075 00076 #endif //GLSDL_LOAD_H 00077
1.7.4