OPENGL: Do not allow direct access to Context::activePipeline.

This commit is contained in:
Johannes Schickel 2016-02-28 17:02:19 +01:00
parent b17c035642
commit ed6689d4fc
4 changed files with 22 additions and 15 deletions

View file

@ -93,7 +93,7 @@ void Framebuffer::applyViewport() {
}
void Framebuffer::applyProjectionMatrix() {
g_context.activePipeline->setProjectionMatrix(_projectionMatrix);
g_context.getActivePipeline()->setProjectionMatrix(_projectionMatrix);
}
void Framebuffer::applyClearColor() {