WineD3D: Scissor rect corrections

Alexandre Julliard julliard at winehq.org
Sat Nov 4 05:01:41 CST 2006


Stefan Dösinger <stefan at codeweavers.com> writes:

> +    GetWindowRect(((IWineD3DSwapChainImpl *)This->swapchains[0])->win_handle, &windowRect);
> +    /* Warning: glScissor uses window coordinates, not viewport coordinates, so our viewport correction does not apply
> +    * Warning2: Even in windowed mode the coords are relative to the window, not the screen
> +    */

Wouldn't GetClientRect be more appropriate?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list