mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
[Backport release-10.x] Fix backface culling re-enabling with elytra preview on (#5096)
This commit is contained in:
commit
17f1bbc072
1 changed files with 0 additions and 2 deletions
|
|
@ -138,11 +138,9 @@ void Scene::draw(QOpenGLShaderProgram* program)
|
|||
if (!m_elytraVisible) {
|
||||
m_cape->draw(program);
|
||||
} else {
|
||||
glDisable(GL_CULL_FACE);
|
||||
for (auto e : m_elytra) {
|
||||
e->draw(program);
|
||||
}
|
||||
glEnable(GL_CULL_FACE);
|
||||
}
|
||||
m_capeTexture->release();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue