From: Derek Foreman Date: Sun, 8 Jun 2003 02:50:41 +0000 (+0000) Subject: adjust projection matrix to hopefully match screen better X-Git-Tag: gl-oldtheme~39 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b670ef5f87063f1fd883b58717dc8d33a028f4aa;p=dana%2Fopenbox.git adjust projection matrix to hopefully match screen better --- diff --git a/render2/instance.c b/render2/instance.c index e0dd8496..66e305af 100644 --- a/render2/instance.c +++ b/render2/instance.c @@ -114,7 +114,7 @@ struct RrInstance *RrInstanceNew(Display *display, int screen) glMatrixMode(GL_PROJECTION); glLoadIdentity(); - glOrtho(0, RrScreenWidth(inst), 0, RrScreenHeight(inst), 0, 10); + glOrtho(-1, RrScreenWidth(inst), -1, RrScreenHeight(inst), 0, 10); glMatrixMode(GL_MODELVIEW); glLoadIdentity();