From c7412b3b08d62c298dc7c3e5f369f406a3c0eac2 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 14 Oct 2009 15:43:53 -0700 Subject: Minor bug fixes and add glError check. --- libs/rs/rsProgramRaster.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/rs/rsProgramRaster.cpp') diff --git a/libs/rs/rsProgramRaster.cpp b/libs/rs/rsProgramRaster.cpp index fcf6824f691d..51ae7cf61f16 100644 --- a/libs/rs/rsProgramRaster.cpp +++ b/libs/rs/rsProgramRaster.cpp @@ -74,7 +74,7 @@ void ProgramRaster::setupGL(const Context *rsc, ProgramRasterState *state) if (mLineSmooth) { glEnable(GL_LINE_SMOOTH); } else { - glEnable(GL_LINE_SMOOTH); + glDisable(GL_LINE_SMOOTH); } if (rsc->checkVersion1_1()) { -- cgit v1.2.3-59-g8ed1b