index 1a6b573db136ff35341a7046f1d73d4471fcd74d..55d9dad6432db0bc2d1832aa6a3fc8af3fee831c 100644 (file)
glOrtho(0, w, h, 0, 0, 1);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity;
-// glTranslatef(0.5, 0.5, 0);
+ glEnable(GL_SCISSOR_TEST);
+ r_Draw_SetRect(0, 0, w - 1, h - 1);
end;
procedure DrawQuad (x, y, w, h: Integer);