Unofficial OpenGL Software Development Kit 0.4.0
C:/Projects/distro/glsdk_0.4.3/glsdk_0.4.3/glload/include/glload/gll.hpp
Go to the documentation of this file.
00001 
00002 #ifndef GLSDL_LOAD_HPP
00003 #define GLSDL_LOAD_HPP
00004 
00011 
00012 
00013 
00015 namespace glload
00016 {
00021     enum LoadSucceeded
00022     {
00023         LS_LOAD_FUNCTIONS_ALL,      
00024         LS_LOAD_FUNCTIONS_SOME,     
00025         LS_LOAD_FAILED,             
00026     };
00027 
00038     int LoadFunctions();
00039 
00040 #ifdef WIN32
00041 
00046     int LoadWinFunctions(void *hdc);
00047 #endif //WIN32
00048 #ifdef GLX_H
00049 
00054     int LoadGLXFunctions(void *display, int screen);
00055 #endif
00056 
00060     int GetMajorVersion();
00061 
00065     int GetMinorVersion();
00066 
00068     bool IsVersionGEQ(int iMajorVersion, int iMinorVersion);
00069 }
00071 
00072 #endif //GLSDL_LOAD_HPP
00073 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends