mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-27 04:11:05 +00:00
Fix compile error
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -458,7 +458,7 @@ ReplayStatus IMG_CreateReplayDevice(RDCFile *rdc, IReplayDriver **driver)
|
||||
|
||||
if((*driver)->GetResources()[0].resourceId == ResourceId())
|
||||
{
|
||||
driver->Shutdown();
|
||||
(*driver)->Shutdown();
|
||||
return ReplayStatus::ImageUnsupported;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user