I have a bitmap with all the ascii chars for drawing text in a CAD program im working on.
For using this bitmap i use:
glBindTexture (GL_TEXTURE_2D, n);
glTexEnvi (GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE);
gluBuild2DMipmaps(GL_TEXTURE_2D,3,Materials[n].txdx,Materials[n].txdy,GL_RGB,GL_UNSIGNED_BYTE,Materials[n].bits);
After that I index this texture using glTexCoord2f(…); for every char.
This worked until we updated the NVIDIA drivers from 3.x to 4.x.
Are there any known problems of nvidia last drivers? Can it be a bug of our code?
I have also tried to use glTexImage2d(…) for initializing the texture, but it doesn’t sseems to work properly, either.