[OpenGL] Last (?) font rendering patch.
Lionel Ulmer
lionel.ulmer at free.fr
Tue Feb 24 15:41:04 CST 2004
This is (I promise) the last one, it works perfectly now :-)
Lionel
Changelog:
- handle proper substraction of unsigned numbers.
--
Lionel Ulmer - http://www.bbrox.org/
-------------- next part --------------
Index: dlls/opengl32/wgl.c
===================================================================
RCS file: /home/wine/wine/dlls/opengl32/wgl.c,v
retrieving revision 1.47
diff -u -r1.47 wgl.c
--- dlls/opengl32/wgl.c 24 Feb 2004 01:21:43 -0000 1.47
+++ dlls/opengl32/wgl.c 24 Feb 2004 21:39:28 -0000
@@ -595,7 +595,7 @@
glNewList(listBase++, GL_COMPILE);
if (needed_size != 0) {
glBitmap(gm.gmBlackBoxX, gm.gmBlackBoxY,
- 0 - gm.gmptGlyphOrigin.x, gm.gmBlackBoxY - gm.gmptGlyphOrigin.y,
+ 0 - (int) gm.gmptGlyphOrigin.x, (int) gm.gmBlackBoxY - (int) gm.gmptGlyphOrigin.y,
gm.gmCellIncX, gm.gmCellIncY,
gl_bitmap);
} else {
More information about the wine-patches
mailing list