![]() If(!gleIntLoad_Version_3_2()) eCurrLoadStatus = LS_LOAD_FUNCTIONS_SOME If(!gleIntLoad_Version_3_2_Comp()) eCurrLoadStatus = LS_LOAD_FUNCTIONS_SOME If(iProfileMask & GL_CONTEXT_COMPATIBILITY_PROFILE_BIT) GlGetIntegerv(GL_CONTEXT_PROFILE_MASK, &iProfileMask) ![]() If(!gleIntLoad_Version_3_1()) eCurrLoadStatus = LS_LOAD_FUNCTIONS_SOME If(!gleIntLoad_Version_3_1_Comp()) eCurrLoadStatus = LS_LOAD_FUNCTIONS_SOME If(!gleIntLoad_Version_3_0()) eCurrLoadStatus = LS_LOAD_FUNCTIONS_SOME If(!gleIntLoad_Version_2_1()) eCurrLoadStatus = LS_LOAD_FUNCTIONS_SOME Įlse if(iMajorVersion = 3 & iMinorVersion < 2) ![]() GetGLVersion(&iMajorVersion, &iMinorVersion) Get the base functions that we need just to process OpenGL. Clear the extensions, in case we loaded already. Int eCurrLoadStatus = LS_LOAD_FUNCTIONS_ALL LoadFunctions taken from the newest version of GLLoad: int LoadFunctions() As far as I can tell the method is suppose to load the various functions specified for each version successively. When trying to figure out why I took a look in how GLLoad was implemented inside the LoadFunctions. GLLoad is now causing a problem when trying to use 3.3 core gl::VertexAttribDivisor which is undefined even on a 4.3 context. I recently converted from using GLEW to GLLoad from the Unofficial SDK - Due to the fact that GLEW doesn’t really support OSX.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |