Re: [4/6] WineD3D: Infrastructure to render swapchains to a FBO
Dec. 4, 2009
11:55 a.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.
5955
Age (days ago)
5955
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet