diff options
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 587938798..29e65df1b 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -909,7 +909,7 @@ std::string GraphicsManager::errorToString(const GLenum error) { if (error) { - std::string errmsg = "Unknown error"; + std::string errmsg("Unknown error"); switch (error) { case GL_INVALID_ENUM: |