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:
6da9e18
)
remove glClear
author
Derek Foreman
<manmower@gmail.com>
Sun, 8 Jun 2003 04:22:54 +0000
(
04:22
+0000)
committer
Derek Foreman
<manmower@gmail.com>
Sun, 8 Jun 2003 04:22:54 +0000
(
04:22
+0000)
we should always draw the whole window
render2/paint.c
patch
|
blob
|
history
diff --git
a/render2/paint.c
b/render2/paint.c
index 79f1321a7d980842838186eccb8a12a46b44fd5d..c86a334cc4f2c48e901afe95458110ad2da505c3 100644
(file)
--- a/
render2/paint.c
+++ b/
render2/paint.c
@@
-94,10
+94,8
@@
void RrPaint(struct RrSurface *sur, int recurse_always)
glMatrixMode(GL_MODELVIEW);
glViewport(0, 0, RrSurfaceWidth(sur), RrSurfaceHeight(sur));
*/
-
glPushMatrix();
glTranslatef(-RrSurfaceX(sur), -RrSurfaceY(sur), 0);
- glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
p = sur;
surx = sury = 0;