[Bug 11521] SimRubik fails to repaint owner-drawn controls (buttons and menu)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Feb 6 05:07:27 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=11521

Dmitry Timoshkov <dmitry at baikal.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|-unknown                    |opengl

--- Comment #18 from Dmitry Timoshkov <dmitry at baikal.ru> ---
The application draws the Cube in the center of main window using OpenGL
and finishes the drawing with call to gdi32.SwapBuffers(). An argument to
SwapBuffers() is a display hdc created with GetDC(0).

I'm not sure how clipping in such a case is supposed to work, the application
does GetClientRect() on its main window and calls glViewport() with that data.

A simple hack that disables passing the gdi32.SwapBuffers() down to opengl32
makes the buttons properly repaint but obviously makes the Cube disappear.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list