Skip to content

Commit

Permalink
Copypaste error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed May 26, 2020
1 parent 94631f1 commit 3623a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion profiles/mojoshader_profile_spirv.c
Expand Up @@ -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);
Expand Down

0 comments on commit 3623a14

Please sign in to comment.