Glenn Wurster gwurster@scs.carleton.ca writes:
--- dlls/x11drv/xrender.c 30 Nov 2004 21:38:58 -0000 1.52 +++ dlls/x11drv/xrender.c 6 Dec 2004 00:02:20 -0000 @@ -1013,6 +1013,29 @@ INT *deltas = NULL, char_extra; HRGN saved_region = 0; UINT align = GetTextAlign( hdc );
- BOOL disable_antialias = FALSE;
- AA_Type antialias = AA_None;
- /* Do we need to disable antialiasing because of palette mode? */
- do {
BITMAPOBJ *bmp;
HBITMAP hBitmap;
hBitmap = GetCurrentObject( physDev->hdc, OBJ_BITMAP );
bmp = (BITMAPOBJ *)GDI_GetObjPtr( hBitmap, BITMAP_MAGIC );
You should use GetObjectW here instead of GDI_GetObjPtr.