From 3551438e9f9b4a327339e4c2e3c495a8d9081fcb Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Thu, 22 May 2014 21:18:07 -0300 Subject: [PATCH] Don't accidentally enable point smoothing on setMode --HG-- branch : minor --- src/modules/graphics/opengl/Graphics.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index ad0adde6d..aee31ce30 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -201,11 +201,6 @@ bool Graphics::setMode(int width, int height, bool &sRGB) // Enable all color component writes. setColorMask(true, true, true, true); - // Enable line/point smoothing. - setLineStyle(LINE_SMOOTH); - glEnable(GL_POINT_SMOOTH); - glHint(GL_POINT_SMOOTH_HINT, GL_NICEST); - // Auto-generated mipmaps should be the best quality possible glHint(GL_GENERATE_MIPMAP_HINT, GL_NICEST);