mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-16 13:02:40 +00:00
rhi/gl: Clear stencil buffer in default renderpass
This commit is contained in:
parent
187e4a9442
commit
9112ac8bdc
1 changed files with 1 additions and 1 deletions
|
|
@ -1226,7 +1226,7 @@ void GlCoreRhi::begin_default_render_pass(Handle<GraphicsContext> ctx, bool clea
|
|||
gl_->ClearColor(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
gl_->ClearDepth(1.0f);
|
||||
gl_->ClearStencil(0);
|
||||
gl_->Clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
gl_->Clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT);
|
||||
GL_ASSERT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue