summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-17 19:20:04 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-10-17 19:20:04 +1100
commita5f1733a09aa99379cf48ed326b4660fbc17cb25 (patch)
tree4db7ecdc528a40302dc06151cda59144cb71a4a6 /examples
parentc557763010a8976680f37609ca10e666ff849cd9 (diff)
clean up enum name
Diffstat (limited to 'examples')
-rw-r--r--examples/triangle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/triangle.c b/examples/triangle.c
index c304562..401b5ac 100644
--- a/examples/triangle.c
+++ b/examples/triangle.c
@@ -31,13 +31,13 @@ int main() {
.source = NULL,
.is_spirv = false,
.entry_point = "vertexShader",
- .shader_stage = VISIBILITY_VERTEX,
+ .stage = STAGE_VERTEX,
},
.fragment = {
.source = NULL,
.is_spirv = false,
.entry_point = "fragmentShader",
- .shader_stage = VISIBILITY_FRAGMENT,
+ .stage = STAGE_FRAGMENT,
},
};