Skip to content

Commit 7bc5c73

Browse files
committed
fixed bottombar flickering
1 parent de43ee9 commit 7bc5c73

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/graphics/opengl/actor/Cache.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ void Cache::DrawImpl( shader_program::ShaderProgram* shader_program, scene::Came
173173
glUniform1ui(
174174
sp->uniforms.flags,
175175
scene::actor::Actor::RF_IGNORE_CAMERA |
176-
scene::actor::Actor::RF_IGNORE_DEPTH |
177176
scene::actor::Actor::RF_IGNORE_LIGHTING
178177
);
179178
glDrawElements( GL_TRIANGLES, m_ibo_size, GL_UNSIGNED_INT, (void*)( 0 ) );

src/ui/dom/Object.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ void Object::Actor( scene::actor::Actor* actor ) {
322322
actor->SetRenderFlags(
323323
actor->GetRenderFlags() |
324324
scene::actor::Actor::RF_IGNORE_CAMERA |
325-
scene::actor::Actor::RF_IGNORE_LIGHTING |
326-
scene::actor::Actor::RF_IGNORE_DEPTH
325+
scene::actor::Actor::RF_IGNORE_LIGHTING
327326
);
328327
m_ui->GetScene()->AddActor( actor );
329328
{

0 commit comments

Comments
 (0)