Hello,
I'm running an app built with Minko (http://minko.io). We use glew on Windows. I've recently tried to compile/run a simple example app (source: https://github.com/aerys/minko/tree/master/example/cube) inside a Windows 7 SP1 VM running inside VirtualBox. I'm using GLEW 1.12.0.
I've installed VirtualBox and setup hardware acceleration properly: GPU Caps tells me I have OpenGL 2.1 and I can run OpenGL apps. But my app crashes because of glGenerateMipmap.
How to reproduce:
Call glGenerateMipmap from the app running in a VirtualBox Windows 7 VM.
It looks like glGenerateMipmap is a null pointer.
Expected behavior:
The app should not crash and calling glGenerateMipmap should have the behavior specified by the OpenGL 2.1 specification.
Workaround:
Calling glGenerateMipmapEXT works fine though:
I'm guessing it's not the way to go and that's not really portable. Any idea of how to fix this properly?
Thank you,
My bad: glGenerateMipmap is not available before OpenGL 3.0, and VirtualBox has OpenGL 2.1
https://www.opengl.org/sdk/docs/man/html/glGenerateMipmap.xhtml
No worries, thanks for the follow-up.