Commit ffc8344e authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Prevent lock-up in paletted texture with no palette case.

parent 8cd26095
......@@ -174,7 +174,6 @@ gltex_upload_texture(IDirectDrawSurfaceImpl *This, BOOLEAN init_upload) {
if (pal == NULL) {
ERR("Palettized texture Loading with a NULL palette !\n");
LEAVE_GL();
return;
}
/* Get the surface's palette */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment