OPENGL: Do not allow direct access to Context::activePipeline.
This commit is contained in:
parent
b17c035642
commit
ed6689d4fc
4 changed files with 22 additions and 15 deletions
|
@ -93,7 +93,7 @@ void Framebuffer::applyViewport() {
|
|||
}
|
||||
|
||||
void Framebuffer::applyProjectionMatrix() {
|
||||
g_context.activePipeline->setProjectionMatrix(_projectionMatrix);
|
||||
g_context.getActivePipeline()->setProjectionMatrix(_projectionMatrix);
|
||||
}
|
||||
|
||||
void Framebuffer::applyClearColor() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue