aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/graphics/opengl/pipelines/pipeline.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/graphics/opengl/pipelines/pipeline.cpp b/backends/graphics/opengl/pipelines/pipeline.cpp
index f79a923f86..6a59cd28e7 100644
--- a/backends/graphics/opengl/pipelines/pipeline.cpp
+++ b/backends/graphics/opengl/pipelines/pipeline.cpp
@@ -34,7 +34,6 @@ void Pipeline::activate() {
if (_activeFramebuffer) {
_activeFramebuffer->activate();
- setProjectionMatrix(_activeFramebuffer->getProjectionMatrix());
}
activateInternal();
@@ -59,7 +58,6 @@ Framebuffer *Pipeline::setFramebuffer(Framebuffer *framebuffer) {
_activeFramebuffer = framebuffer;
if (_isActive && _activeFramebuffer) {
_activeFramebuffer->activate();
- setProjectionMatrix(_activeFramebuffer->getProjectionMatrix());
}
return oldFramebuffer;