mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix backface culling reenabling with elytra preview
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
This commit is contained in:
parent
4ed77a940c
commit
a3eba815dd
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