projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82cbf89
)
adjust projection matrix to hopefully match screen better
author
Derek Foreman
<manmower@gmail.com>
Sun, 8 Jun 2003 02:50:41 +0000
(
02:50
+0000)
committer
Derek Foreman
<manmower@gmail.com>
Sun, 8 Jun 2003 02:50:41 +0000
(
02:50
+0000)
render2/instance.c
patch
|
blob
|
history
diff --git
a/render2/instance.c
b/render2/instance.c
index e0dd849690013a42139daf5df1052a89148793e6..66e305af419ac318781f66e8cbc48858b7a83a0a 100644
(file)
--- 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();