• Henri Verbeet's avatar
    wined3d: Cleanup IWineD3DDeviceImpl_UpdateTexture(). · adf5bb5f
    Henri Verbeet authored
    The root problem here is that with the original error handling a NULL
    dereference occurs (IWineD3DBaseTexture_GetType()) when either the source or
    destination texture is NULL. Rewriting the error handling changes the
    indentation of almost the entire function though, so this patch ends up
    rewriting the entire function.
    adf5bb5f
device.c 278 KB