diff options
author | 2009-10-14 15:43:53 -0700 | |
---|---|---|
committer | 2009-10-15 16:06:42 -0700 | |
commit | c7412b3b08d62c298dc7c3e5f369f406a3c0eac2 (patch) | |
tree | 4ff8ec640c4a6c05643fb9aeb0ac9bc533ec50ab /libs/rs/rsProgramRaster.cpp | |
parent | 6a17e163a0dca28c1b2f957561e909172b7259c8 (diff) |
Minor bug fixes and add glError check.
Diffstat (limited to 'libs/rs/rsProgramRaster.cpp')
-rw-r--r-- | libs/rs/rsProgramRaster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |