Re: [4/6] WineD3D: Infrastructure to render swapchains to a FBO
4 Dec
2009
4 Dec
'09
5:55 p.m.
2009/12/4 Stefan Dösinger <stefan(a)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.
5856
Age (days ago)
5856
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet