Re: [3/3] WineD3D: Update sRGB copies with fbo_blit if possible
2009/7/6 Stefan Dösinger <stefan(a)codeweavers.com>:
+void fbo_srgb_load(IWineD3DDevice *iface, IWineD3DSurface *surface, BOOL dst_srgb) +{ + IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface; + IWineD3DSurfaceImpl *surf = (IWineD3DSurfaceImpl *) surface; + + ENTER_GL(); This code needs an active GL context.
Am Monday 06 July 2009 23:04:57 schrieb Henri Verbeet:
2009/7/6 Stefan Dösinger <stefan(a)codeweavers.com>:
+void fbo_srgb_load(IWineD3DDevice *iface, IWineD3DSurface *surface, BOOL dst_srgb) +{ + IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface; + IWineD3DSurfaceImpl *surf = (IWineD3DSurfaceImpl *) surface; + + ENTER_GL();
This code needs an active GL context. good catch - I'll check this with the caller, but there might be one around, but I don't think there is
participants (2)
-
Henri Verbeet -
Stefan Dösinger