2003/09/27 06:42:27
[org.ibex.core.git] / src / org / xwt / plat / OpenGL.cc
index c7a1002..8200b16 100644 (file)
@@ -96,17 +96,6 @@ void OpenGL$GLPixelBuffer::fillTrapezoid(jint x1, jint x2, jint y1, jint x3, jin
     glEnd();
 }
 
-void OpenGL$GLPixelBuffer::fillRect(jint x1, jint y1, jint x2, jint y2,jint color) {
-    activateContext();
-    setColor(color);
-    glBegin(GL_QUADS); 
-        glVertex3f(x1,y2,0.0f );
-        glVertex3f(x2,y2,0.0f );
-        glVertex3f(x2,y1,0.0f );
-        glVertex3f(x1,y1,0.0f );
-    glEnd();
-}
-
 void OpenGL$GLPixelBuffer::setClip(jint x1, jint y1, jint x2, jint y2) {
     //fprintf(stderr,"setClip: %d %d %d %d\n",x1,y1,x2,y2);
     if(x1==0 && y1==0 && x2==width && y2==height) {