Fix creating textures when running in headless/null mode
This commit is contained in:
@@ -121,6 +121,8 @@ bool StreamingTexture::Create(const TextureHeader& header)
|
||||
}
|
||||
|
||||
// Request resource streaming
|
||||
if (GPUDevice::Instance && GPUDevice::Instance->GetRendererType() == RendererType::Null)
|
||||
return false;
|
||||
#if GPU_ENABLE_TEXTURES_STREAMING
|
||||
bool isDynamic = !_header.NeverStream;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user