Address feedback

This commit is contained in:
Henrik Rydgård committed 2023-10-10 09:02:35 +02:00
1 parent b38b46df0f
commit 9fdc7e2372
2 files changed
+5 -2

No files matched your search

+2
View File
@@ -83,6 +83,8 @@ void UIContext::BeginPipeline(Draw::Pipeline *pipeline, Draw::SamplerState *samp
// Also clear out any other textures bound.
Draw::SamplerState *samplers[3]{ samplerState };
draw_->BindSamplerStates(0, 3, samplers);
Draw::Texture *textures[2]{};
draw_->BindTextures(1, 2, textures);
RebindTexture();
UIBegin(pipeline);
}