Skip to content

Commit

Permalink
Fixed Hide and Show Functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Cherrytree56567 committed Apr 6, 2024
1 parent 33be520 commit 485e70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Drizzle3D/OpenGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ namespace Drizzle3D {
glUniform1f(glGetUniformLocation(shaderProgram, (lightPrefix + ".quadratic").c_str()), Lights[i].quadratic);
}
for (const auto& obje : Objects) {
if (obje.hide)
if (obje.hide) {
continue;
} else {
if (obje.mat != shaderProgram) {
Expand Down

0 comments on commit 485e70e

Please sign in to comment.