GRIM: Silence compiler warning

This commit is contained in:
Paweł Kołodziejski 2020-10-14 08:29:48 +02:00
parent d968d22eb1
commit d113c5d3a4

View File

@ -1902,6 +1902,7 @@ void GfxOpenGL::drawEmergString(int x, int y, const char *text, const Color &fgC
glListBase(_emergFont);
char *list = const_cast<char *>(text);
(void)list; // silence compiler warning
glCallLists(strlen(text), GL_UNSIGNED_BYTE, (void *)text);
glEnable(GL_LIGHTING);