From c1cbd610e6a25225d33a18f1687ec8da25833bf2 Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Sun, 12 May 2013 05:49:00 -0300 Subject: [PATCH] Fixed the default blend mode (and other related state) --- src/modules/graphics/opengl/Graphics.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index 616fe35f8..00b96bb02 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -124,10 +124,6 @@ void Graphics::restoreState(const DisplayState &s) bool Graphics::setMode(int width, int height) { - DisplayState tempState; - if (isCreated()) - savedState = saveState(); - this->width = width; this->height = height;