From 8f82d7c9ef26dedf7dbb0362ac386955814bceff Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Sun, 8 Jun 2003 04:22:54 +0000 Subject: [PATCH] remove glClear we should always draw the whole window --- render2/paint.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.34.1