Fix grass example
This commit is contained in:
parent
e02efd2f7b
commit
401e0a29e2
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ struct grass_app
|
|||
std::size_t slice_resolution = 256;
|
||||
|
||||
grass_slice_z_texture.load<gfx::color_rgba>({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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue