From: Brian Paul Date: Wed, 9 May 2001 20:45:00 +0000 (+0000) Subject: fixed font/bitmap x-offset bug (Frank Warmerdam) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91979127ecec0f3d60507f9197b1f9fd00e4e145;p=mesa.git fixed font/bitmap x-offset bug (Frank Warmerdam) --- diff --git a/src/mesa/drivers/windows/wgl.c b/src/mesa/drivers/windows/wgl.c index 87fd5f7b0a5..82df9a3258b 100644 --- a/src/mesa/drivers/windows/wgl.c +++ b/src/mesa/drivers/windows/wgl.c @@ -1,4 +1,4 @@ -/* $Id: wgl.c,v 1.5 2001/04/03 16:25:54 brianp Exp $ */ +/* $Id: wgl.c,v 1.6 2001/05/09 20:45:00 brianp Exp $ */ /* * This library is free software; you can redistribute it and/or @@ -313,7 +313,7 @@ GLAPI BOOL GLWINAPI wglUseFontBitmapsA(HDC hdc, DWORD first, } glBitmap(gm.gmBlackBoxX,gm.gmBlackBoxY, - gm.gmptGlyphOrigin.x, + -gm.gmptGlyphOrigin.x, gm.gmptGlyphOrigin.y, gm.gmCellIncX,gm.gmCellIncY, (const GLubyte * )lpBits);