[4/6] WineD3D: Infrastructure to render swapchains to a FBO

Stefan Dösinger stefandoesinger at gmx.at
Sun Dec 6 15:21:13 CST 2009


Am 04.12.2009 um 18:55 schrieb Henri Verbeet:

> 2009/12/4 Stefan Dösinger <stefan at codeweavers.com>:
>>     hr = create_primary_opengl_context(iface, (IWineD3DSwapChain *) swapchain);
>> +    if(SUCCEEDED(hr))
>> +    {
>> +        swapchain->context[0]->render_offscreen = swapchain->render_to_fbo;
>> +    }
> This should probably be part of create_primary_opengl_context().
> 
>> +static inline void swapchain_blit(IWineD3DSwapChainImpl *This, struct wined3d_context *context)
> It's kind of obvious because of the "context" parameter, but for
> consistency please document the requirement for the caller to provide
> an active context.
Fixed those in the attached patch

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-WineD3D-Infrastructure-to-render-swapchains-to-a-FBO.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091206/aec9c2d9/attachment.txt>


More information about the wine-patches mailing list