fixed font/bitmap x-offset bug (Frank Warmerdam)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 May 2001 20:45:00 +0000 (20:45 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 May 2001 20:45:00 +0000 (20:45 +0000)
src/mesa/drivers/windows/wgl.c

index 87fd5f7b0a58853a6bf2f7d05faa48ff207b1f02..82df9a3258ba3d1ce46cab221decb3ac4a4d4c5f 100644 (file)
@@ -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);