[Bug 10697] Starcraft:Broodwar (using OpenGL renderer) regression.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 11 14:50:37 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=10697





--- Comment #31 from pspallanz at gmail.com  2008-01-11 14:50:36 ---
Created an attachment (id=10170)
 --> (http://bugs.winehq.org/attachment.cgi?id=10170)
patch to dlls/wined3d/surface.c

I get this bug with wine 0.9.52 and a nvidia GeForce2 MX graphics card.

Using 'readtex' I get a white screen and lots of GL_INVALID_ENUM messages.
This is because although the graphics card supports GL_ARB_texture_rectangle
and GL_EXT_paletted_texture apparently they don't work together
(cannot create a rectangular paletted texture).

Disabling GL_ARB_texture_rectangle in directx.c fixes this but then I get
a solid colored window.
This is a bug in surface_blt_to_drawable, the texture coordinates are
calculated using an integer division and thus are all set to 0.
The attached patch fixes this.

With the patch applied the game runs well but will stop working if another
window is moved over the wine window, the game will keep running and respond
to mouse clicks but the display will stop updating.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list