diff --git a/examples/grass.cpp b/examples/grass.cpp index 211b8fa3..971750d6 100644 --- a/examples/grass.cpp +++ b/examples/grass.cpp @@ -422,7 +422,7 @@ struct grass_app std::size_t slice_resolution = 256; grass_slice_z_texture.load({slice_resolution, slice_resolution, density_level_count}); - grass_slice_renderbuffer.storage(gl::DEPTH24_STENCIL8, slice_resolution, slice_resolution); + grass_slice_renderbuffer.storage(gl::DEPTH24_STENCIL8, {slice_resolution, slice_resolution}); for (int d = 0; d < density_level_count; ++d) { grass_slice_framebuffer.color(grass_slice_z_texture, d);