fixed a slowdown in the 3D window with multiple objects.

This commit is contained in:
2003-05-02 10:44:14 +00:00
parent 16b3cd809a
commit 75014f9f64
2 changed files with 2 additions and 2 deletions

View File

@@ -240,7 +240,7 @@ static void draw_icon_centered(float *pos, unsigned int *rect, int rectsize)
glRasterPos3fv(pos);
/* use bitmap to shift rasterpos in pixels */
glBitmap(1, 1, 0.0, 0.0, -hsize, -hsize, &dummy);
glBitmap(0, 0, 0.0, 0.0, -hsize, -hsize, &dummy);
glFinish(); /* for sun */
glDrawPixels(rectsize, rectsize, GL_RGBA, GL_UNSIGNED_BYTE, rect);