Hi

I know its not much soya related, but Im stuck with  a silly thing.

I render a sqaure with a
                       opengl.glEnable(opengl.GL_BLEND)
                       opengl.glColor4f (*self.color)
                       opengl.glBegin(opengl.GL_QUADS)
                       opengl.glVertex2i(self.left_100, self.top_100)
opengl.glVertex2i(self.left_100, self.top_100 + self.height_100) opengl.glVertex2i(self.left_100 + self.width_100, self.top_100 + self.height_100) opengl.glVertex2i(self.left_100 + self.width_100, self.top_100)

How can I make that square dissapear? I try with opengl.glClear and openGl.Disable, but seems that are not the proper commands, and obviously my opengl knowledge is zero.

Thx in advance



Reply via email to