From: Derek Foreman Date: Sun, 8 Jun 2003 04:22:54 +0000 (+0000) Subject: remove glClear X-Git-Tag: gl-oldtheme~35 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8f82d7c9ef26dedf7dbb0362ac386955814bceff;p=dana%2Fopenbox.git remove glClear we should always draw the whole window --- diff --git a/render2/paint.c b/render2/paint.c index 79f1321a..c86a334c 100644 --- 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;