René Olsthoorn's techtips
Technical tips for various products and programming languages
zaterdag 25 januari 2014
OpenGL NVidia black window
A very strange bug I discovered in the NVidia OpenGL driver. A program of mine run fine with AMD, but with NVidia it showed a black screen.
OpenGL program's must bind a VertexArray in NVidia.
So, in the initialization do:
GLuint meuk;
glGenVertexArrays(1,&meuk);
glBindVertexArray(meuk);
glBindVertexArray(0);
In every RenderScene, do:
glBindVertexArray(meuk);
Nieuwere posts
Oudere posts
Homepage
Abonneren op:
Posts (Atom)