mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-05-19 16:10:35 +00:00
Fix incorrect failure check
This commit is contained in:
@@ -324,7 +324,7 @@ public:
|
|||||||
pipelineDesc.colorAttachments[0].destinationAlphaBlendFactor = MTLBlendFactorOneMinusSourceAlpha;
|
pipelineDesc.colorAttachments[0].destinationAlphaBlendFactor = MTLBlendFactorOneMinusSourceAlpha;
|
||||||
[m_OverlayPipelineState release];
|
[m_OverlayPipelineState release];
|
||||||
m_OverlayPipelineState = [m_MetalLayer.device newRenderPipelineStateWithDescriptor:pipelineDesc error:nullptr];
|
m_OverlayPipelineState = [m_MetalLayer.device newRenderPipelineStateWithDescriptor:pipelineDesc error:nullptr];
|
||||||
if (!m_VideoPipelineState) {
|
if (!m_OverlayPipelineState) {
|
||||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION,
|
||||||
"Failed to create overlay pipeline state");
|
"Failed to create overlay pipeline state");
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user