diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-04-29 21:06:48 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-04-29 21:06:48 +0000 |
commit | fc12fd465db8c2e0ac285f1b82778410cfdc4bd4 (patch) | |
tree | 1477fc804c582716e7c6a81f3fcffe6f341bfd13 /hw | |
parent | e61d4c41c4f947f5cf974a9a75e959e2d7093185 (diff) |
Remove warning about weired biHeight signedness. This has never been a
problem in the last two years
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xwin/winshadgdi.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/hw/xwin/winshadgdi.c b/hw/xwin/winshadgdi.c index 047d418ee..a455ca033 100644 --- a/hw/xwin/winshadgdi.c +++ b/hw/xwin/winshadgdi.c @@ -430,12 +430,12 @@ winAllocateFBShadowGDI (ScreenPtr pScreen) else { winW32Error (2, "winAllocateFBShadowGDI - Shadow blit failure\n"); - /* ago: ignore this error. The blit fails with wine, but does not - * cause any problems later. */ - #if 0 return FALSE; #else + /* ago: ignore this error. The blit fails with wine, but does not + * cause any problems later. */ + fReturn = TRUE; #endif } @@ -443,11 +443,6 @@ winAllocateFBShadowGDI (ScreenPtr pScreen) /* Look for height weirdness */ if (dibsection.dsBmih.biHeight < 0) { - /* FIXME: Figure out why biHeight is sometimes negative */ - ErrorF ("winAllocateFBShadowGDI - WEIRDNESS - biHeight " - "still negative: %d\n" - "winAllocateFBShadowGDI - WEIRDNESS - Flipping biHeight sign\n", - (int) dibsection.dsBmih.biHeight); dibsection.dsBmih.biHeight = -dibsection.dsBmih.biHeight; } |