From: Daniel Borca Date: Wed, 21 Jul 2004 08:44:26 +0000 (+0000) Subject: fixed a bug in clear routine X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1b868b1e548b491c3e873824b60eb4b22f1ae202;p=mesa.git fixed a bug in clear routine --- diff --git a/src/mesa/drivers/dos/dmesa.c b/src/mesa/drivers/dos/dmesa.c index f6ff5eb50bb..67781f6c86b 100644 --- a/src/mesa/drivers/dos/dmesa.c +++ b/src/mesa/drivers/dos/dmesa.c @@ -25,7 +25,7 @@ /* * DOS/DJGPP device driver v1.6 for Mesa * - * Copyright (c) 2003 - Borca Daniel + * Copyright (c) 2003 - Daniel Borca * Email : dborca@users.sourceforge.net * Web : http://www.geocities.com/dborca */ @@ -753,7 +753,7 @@ static void clear (GLcontext *ctx, GLbitfield mask, GLboolean all, if (all) { vl_clear(color); } else { - vl_rect(x, y, width, height, color); + vl_rect(x, c->buffer->height - y - height, width, height, color); } mask &= ~DD_BACK_LEFT_BIT; @@ -806,8 +806,7 @@ static const GLubyte* get_string (GLcontext *ctx, GLenum name) { switch (name) { case GL_RENDERER: - return (const GLubyte *)"Mesa DJGPP" - "\0port (c) Borca Daniel feb-2004"; + return (const GLubyte *)"Mesa DJGPP"; default: return NULL; }