Hi,
Attached patch lets GetRasterStatus in wined3d return D3D_OK with pseudo-raster status by QueryPerformanceCounter. Could someone please try the patch with retail version of StarCraft 2?
This patch fixes bug 26917[1]. But I'm afraid another problem, especially for SC2. Because the current behavior was introduced to fix bug 23556[2] related SC2.
I've already tried for SC2 current demo version. It looks fine. However, I couldn't find GetRasterStatus call in trace logs. Therefore, I'd like to test with retail version which I don't have.
I also welcome comments or problem reports about my patch.
[1] http://bugs.winehq.org/show_bug.cgi?id=26917 [2] http://bugs.winehq.org/show_bug.cgi?id=23556
I think this approach is ok, although it would of course be much nicer if we could get real information from X11 somehow.
On 14 January 2012 15:16, Akihiro Sagawa sagawa.aki@gmail.com wrote:
I've already tried for SC2 current demo version. It looks fine. However, I couldn't find GetRasterStatus call in trace logs. Therefore, I'd like to test with retail version which I don't have.
Yeah, I don't see that getting called in the full version either. I guess it was removed again by a patch.