Call GetRealFunctions on MakeCurrent to populate extensions.

* Even if the app only queries some subset of extensions, we may need
  more (e.g. need the DSA extensions). GetRealFunctions does a
  PopulateHooks which will fill out the extensions that we need.
This commit is contained in:
Baldur Karlsson
2014-06-19 15:23:01 +01:00
parent 47e33feeb2
commit 07e9855f0e
+2
View File
@@ -339,6 +339,8 @@ class OpenGLHook : LibraryHook
glhooks.GetDriver()->ActivateContext(WindowFromDC(dc), rc);
glhooks.GetRealFunctions();
return ret;
}