Fix compile error

This commit is contained in:
baldurk
2019-10-28 19:25:02 +00:00
parent 6a39e4d6f8
commit a8baf4fa49
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1033,6 +1033,7 @@ dds_data load_dds_from_file(FILE *f)
bytesPerPixel = 2;
break;
}
// deliberate fall-through
case ResourceFormatType::YUV10:
case ResourceFormatType::YUV12:
case ResourceFormatType::YUV16:
+1 -1
View File
@@ -458,7 +458,7 @@ ReplayStatus IMG_CreateReplayDevice(RDCFile *rdc, IReplayDriver **driver)
if((*driver)->GetResources()[0].resourceId == ResourceId())
{
driver->Shutdown();
(*driver)->Shutdown();
return ReplayStatus::ImageUnsupported;
}