hi,
i drew a quad and textured it , now i want to draw some red lines,
if i disable(GL_TEXTURE_2D) and draw the lines ,they are red but when i resize the window the texured quad becomes red as well.
any suggestions?
textures
Started by urika, Jul 10 2003 12:24 PM
3 replies to this topic
#1
Posted 10 July 2003 - 12:24 PM
#2
Posted 10 July 2003 - 01:01 PM
you set color back to white before drawing the quad?
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
#3
Posted 11 July 2003 - 09:43 AM
like davepermen said, set white color before draw the textured quad
Maybe this...
...
glColor3u (255,255,255)
glEnable (G_TEXTURE2D)
DrawQuad ....
glDisable (G_TEXTURE2D)
glColor3u (255,0,0)
DrawRedLines...
...
Maybe this...
...
glColor3u (255,255,255)
glEnable (G_TEXTURE2D)
DrawQuad ....
glDisable (G_TEXTURE2D)
glColor3u (255,0,0)
DrawRedLines...
...
#4
Posted 16 July 2003 - 12:41 PM
thank u! ,i found the answer myself though (the white thing of course) :blush:
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












