Drawable Renderer (#1570), Apply cull mode
This commit is contained in:
committed by
Bart Louwers
parent
ec1f308ac3
commit
9103d7125c
@@ -48,7 +48,7 @@ void DrawableGL::draw(const PaintParameters& parameters) const {
|
||||
}
|
||||
|
||||
context.setColorMode(parameters.colorModeForRenderPass());
|
||||
context.setCullFaceMode(gfx::CullFaceMode::disabled());
|
||||
context.setCullFaceMode(getCullFaceMode());
|
||||
|
||||
bindUniformBuffers();
|
||||
bindTextures();
|
||||
|
||||
Reference in New Issue
Block a user