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

This commit is contained in:
Lionel Ulmer 2003-01-02 19:41:25 +00:00 committed by Alexandre Julliard
parent 8cd2609587
commit ffc8344ef2
1 changed files with 0 additions and 1 deletions

View File

@ -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 */