diff options
author | Daniel Borca <[email protected]> | 2004-07-21 08:44:26 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-07-21 08:44:26 +0000 |
commit | 1b868b1e548b491c3e873824b60eb4b22f1ae202 (patch) | |
tree | 2b6781954df47d39ed647bf8877680d1399b187a /src/mesa/drivers/dos/dmesa.c | |
parent | 782a32b847d097c33a8fc44d3443be08f967e616 (diff) |
fixed a bug in clear routine
Diffstat (limited to 'src/mesa/drivers/dos/dmesa.c')
-rw-r--r-- | src/mesa/drivers/dos/dmesa.c | 7 |
1 files changed, 3 insertions, 4 deletions
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 : [email protected] * 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; } |