mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed size of filled rects.
This commit is contained in:
@@ -936,9 +936,9 @@ namespace opengl
|
||||
case DRAW_FILL:
|
||||
glBegin(GL_QUADS);
|
||||
glVertex2f(x, y);
|
||||
glVertex2f(x, y+h-1);
|
||||
glVertex2f(x+w-1, y+h-1);
|
||||
glVertex2f(x+w-1, y);
|
||||
glVertex2f(x, y+h);
|
||||
glVertex2f(x+w, y+h);
|
||||
glVertex2f(x+w, y);
|
||||
glEnd();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user