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.