asdiel
11-15-2000, 11:35 AM
Hello all
I'm having the following problem, and I don't know it it is an error from my side or a bug somewhere else..
My code looks like
if (A)
{
glBindTexture(GL_TEXTURE_2D,tex1);
// Draw a textured Quad
}
if (B)
{
glBindTexture(GL_TEXTURE_2D,tex2);
// Draw a textured Quad
}
Now, if at the begging both A and B are true, it will only draw the texture for the second quad
and the first one will be blank.
If I turn the second one (B) off and turn it back on, then both will show even though I didn't change Tex1 or Tex2
It looks like there is some problems binding the textures...or something like that.
any hint?....any clue?
Thank you all..
Asdiel.
I'm having the following problem, and I don't know it it is an error from my side or a bug somewhere else..
My code looks like
if (A)
{
glBindTexture(GL_TEXTURE_2D,tex1);
// Draw a textured Quad
}
if (B)
{
glBindTexture(GL_TEXTURE_2D,tex2);
// Draw a textured Quad
}
Now, if at the begging both A and B are true, it will only draw the texture for the second quad
and the first one will be blank.
If I turn the second one (B) off and turn it back on, then both will show even though I didn't change Tex1 or Tex2
It looks like there is some problems binding the textures...or something like that.
any hint?....any clue?
Thank you all..
Asdiel.