diff options
Diffstat (limited to 'examples/pbr_params')
-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"); |