From 3623a14ae7463d0c379abbd37b529ccb7232b1e4 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Mon, 25 May 2020 21:43:12 -0400 Subject: [PATCH] Copypaste error fix --- profiles/mojoshader_profile_spirv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/mojoshader_profile_spirv.c b/profiles/mojoshader_profile_spirv.c index 576dc1c1..17143a38 100644 --- a/profiles/mojoshader_profile_spirv.c +++ b/profiles/mojoshader_profile_spirv.c @@ -1348,7 +1348,7 @@ static void spv_emit_vs_main_end(Context* ctx) #endif // MOJOSHADER_FLIP_RENDERTARGET #if SUPPORT_PROFILE_GLSPIRV && defined(MOJOSHADER_DEPTH_CLIPPING) - if (!ctx->profile_supports_glspirv) + if (ctx->profile_supports_glspirv) { // gl_Position.z = gl_Position.z * 2.0 - gl_Position.w; uint32 id_2 = spv_getscalarf(ctx, 2.0f);