Skip to content

Commit

Permalink
Fix typo in opengl scissor test
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelFB committed Oct 1, 2023
1 parent de23b33 commit e520a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Platform/src/foster_renderer_opengl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@ void FosterDraw_OpenGL(FosterDrawCommand* command)
}

// Scissor
if (!command->hasScissor != 0)
if (command->hasScissor != 0)
{
fgl.glDisable(GL_SCISSOR_TEST);
}
Expand Down

0 comments on commit e520a3f

Please sign in to comment.