mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix gl errors
This commit is contained in:
parent
49d2c98718
commit
f620addcb8
1 changed files with 1 additions and 1 deletions
|
|
@ -294,8 +294,8 @@ void GUI::draw(const DrawContext& pctx, Assets& assets) {
|
|||
uicamera->setAspectRatio(viewport.x / static_cast<float>(viewport.y));
|
||||
|
||||
auto uishader = assets.get<Shader>("ui");
|
||||
uishader->uniformMatrix("u_projview", uicamera->getProjView());
|
||||
uishader->use();
|
||||
uishader->uniformMatrix("u_projview", uicamera->getProjView());
|
||||
|
||||
batch2D->begin();
|
||||
for (auto& [outputTexture, frame] : frames) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue