[3/3] WineD3D: Update sRGB copies with fbo_blit if possible

Stefan Dösinger stefan at codeweavers.com
Mon Jul 6 16:17:13 CDT 2009


Am Monday 06 July 2009 23:04:57 schrieb Henri Verbeet:
> 2009/7/6 Stefan Dösinger <stefan at 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



More information about the wine-devel mailing list