mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-28 15:00:21 +00:00
Fix incorrect failure check
This commit is contained in:
1 parent
073f892bb1
commit
87c3179f77
1 file changed
+1
-1
@@ -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