diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-23 18:38:22 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-06-23 18:38:22 +1000 |
commit | dd5816eb9d4e35e22176ceb6df9162359bc138f0 (patch) | |
tree | 86406020b1933f7fe4f053d119c9ee836e132370 /examples/pbr_params/ex_pbr_params.c | |
parent | 41a9e6d84e442cadbf1825c38bb97c516873ad5a (diff) |
fix examples without default framebuffer setting
Diffstat (limited to 'examples/pbr_params/ex_pbr_params.c')
-rw-r--r-- | examples/pbr_params/ex_pbr_params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pbr_params/ex_pbr_params.c b/examples/pbr_params/ex_pbr_params.c index 1d2d756..f5c004b 100644 --- a/examples/pbr_params/ex_pbr_params.c +++ b/examples/pbr_params/ex_pbr_params.c @@ -50,7 +50,7 @@ int main() { shader_data pbr_uniforms = { .data = NULL, .shader_data_get_layout = &pbr_params_shader_layout }; // Make the pipeline - gpu_renderpass_desc pass_description = {}; + gpu_renderpass_desc pass_description = { .default_framebuffer = true, .color_target = true }; gpu_renderpass* renderpass = gpu_renderpass_create(&pass_description); // FIXME: Make this work on other API backends str8 vert_path = str8lit("assets/shaders/pbr_params.vert"); |