diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-10-26 04:53:22 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-10-26 04:54:58 -0400 |
| commit | 49b94e52858e5869ea2872ed75810ba075cfa0eb (patch) | |
| tree | 39f2911237486cd32287ea2b528710e5997ee22c /Source/Core/VideoBackends/Software/RasterFont.cpp | |
| parent | f895648eb95369e2d302ba93cc4354d3880a7337 (diff) | |
OGL: Get rid of error macros
Diffstat (limited to 'Source/Core/VideoBackends/Software/RasterFont.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/RasterFont.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/VideoBackends/Software/RasterFont.cpp b/Source/Core/VideoBackends/Software/RasterFont.cpp index 8aefd89599..83e1165d48 100644 --- a/Source/Core/VideoBackends/Software/RasterFont.cpp +++ b/Source/Core/VideoBackends/Software/RasterFont.cpp @@ -148,14 +148,12 @@ void RasterFont::printString(const char *s, double x, double y, double z) // go to the right spot glRasterPos3d(x, y, z); - GL_REPORT_ERRORD(); glPushAttrib (GL_LIST_BIT); glListBase(fontOffset); glCallLists((GLsizei)strlen(s2), GL_UNSIGNED_BYTE, (GLubyte *) s2); - GL_REPORT_ERRORD(); + glPopAttrib(); - GL_REPORT_ERRORD(); } void RasterFont::printCenteredString(const char *s, double y, int screen_width, double z) |
