aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:20 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:20 +0100
commitfbd3e2fcac6116b53136751a8c7ce6ab23374796 (patch)
treeee5f69435726374977af3d4b589a49a64049eb8b /stockton-render/src/draw
parent58319f04f239ab4a81b4eb878ad987fe453fef9e (diff)
fix(render): fix faces being rendered wrong way round
Diffstat (limited to 'stockton-render/src/draw')
-rw-r--r--stockton-render/src/draw/context.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-render/src/draw/context.rs b/stockton-render/src/draw/context.rs
index aaa2514..e8517f2 100644
--- a/stockton-render/src/draw/context.rs
+++ b/stockton-render/src/draw/context.rs
@@ -567,7 +567,7 @@ impl<'a> RenderingContext<'a> {
let rasterizer = Rasterizer {
polygon_mode: PolygonMode::Fill,
cull_face: Face::BACK,
- front_face: FrontFace::Clockwise,
+ front_face: FrontFace::CounterClockwise,
depth_clamping: false,
depth_bias: None,
conservative: true,