summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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,
},
};