mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-11 16:53:49 +00:00
fixed GLEW_MX wgl initialization bug
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@503 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
41e3429ce3
commit
5067661b03
@ -30,9 +30,7 @@ GLenum wglewContextInit (WGLEW_CONTEXT_ARG_DEF_LIST)
|
||||
{
|
||||
GLboolean crippled;
|
||||
/* find wgl extension string query functions */
|
||||
if (_wglewGetExtensionsStringARB == NULL)
|
||||
_wglewGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB");
|
||||
if (_wglewGetExtensionsStringEXT == NULL)
|
||||
_wglewGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT");
|
||||
/* initialize extensions */
|
||||
crippled = _wglewGetExtensionsStringARB == NULL && _wglewGetExtensionsStringEXT == NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user