Hi all,
When I tried to create a texture by glGenTextures in OSG, I met a problem.
glGenTextures can not create a texture object. Zero is returned and no
texture is created. Source codes are as follow:
while(!Viewer.done())
{
...
if(Render)
{
....
Viewer.frame();
}
else if(LoadTexture)
{
GLuint TexID = 0;
glGenTextures(1, &TexID );
....
}
....
}
Version of my osg is 2.8 for vs2005. OS is Win XP professional. Graphics
card is ATI X1600.
Thanks for your help!
Su Hu
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org