wined3d: Add a missing return statement to surface_prepare_texture().

Calling surface_prepare_texture_internal() twice on the same surface is
harmless, but unnecessary.
This commit is contained in:
Henri Verbeet 2010-07-26 12:06:34 +02:00 committed by Alexandre Julliard
parent 0bf68b846a
commit 6874743e78
1 changed files with 2 additions and 0 deletions

View File

@ -1569,6 +1569,8 @@ void surface_prepare_texture(IWineD3DSurfaceImpl *surface, const struct wined3d_
}
IWineD3DBaseTexture_Release((IWineD3DBaseTexture *)texture);
return;
}
surface_prepare_texture_internal(surface, gl_info, srgb);