Prevent lock-up in paletted texture with no palette case.
This commit is contained in:
parent
8cd2609587
commit
ffc8344ef2
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue