[2/6] WineD3D: A function for checking if a surface is offscreen
Stefan Dösinger
stefandoesinger at gmx.at
Sun Dec 6 15:20:16 CST 2009
Am 04.12.2009 um 18:54 schrieb Henri Verbeet:
> 2009/12/4 Stefan Dösinger <stefan at codeweavers.com>:
>> GLenum buffer = surface_get_gl_buffer((IWineD3DSurface *) This, (IWineD3DSwapChain *)swapchain);
>> +
>> + IWineD3DSurface_GetContainer((IWineD3DSurface *) This, &IID_IWineD3DSwapChain, (void **)&swapchain);
>
> That doesn't look quite right. Also, you should check the return value
> for GetContainer().
Woops, that's wrong indeed. Please use this patch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-WineD3D-A-function-for-checking-if-a-surface-is-offscr.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091206/742b2795/attachment-0001.txt>
More information about the wine-patches
mailing list