Original Post
What would cause glGenTextures to fail to return a valid texture identifier? For example, I have the following code in my project: The output of this snippet is "OpenGL I curse at you." I therefore, cannot use my grass texture. Any help would be greatly appreciated.
[source language=c++]
glGenTextures(1, &grassTex_);
if (!glIsTexture(grassTex_))
cout << "OpenGL I curse at you" << endl;