[Scummvm-git-logs] scummvm master -> 9bdba8b919e7110f2049fca85fe15590e1d376ff

aquadran aquadran at gmail.com
Wed Oct 14 06:31:32 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9bdba8b919 GRIM: Fixed param for gl call


Commit: 9bdba8b919e7110f2049fca85fe15590e1d376ff
    https://github.com/scummvm/scummvm/commit/9bdba8b919e7110f2049fca85fe15590e1d376ff
Author: Paweł Kołodziejski (aquadran at users.sourceforge.net)
Date: 2020-10-14T08:31:25+02:00

Commit Message:
GRIM: Fixed param for gl call

Changed paths:
    engines/grim/gfx_opengl.cpp


diff --git a/engines/grim/gfx_opengl.cpp b/engines/grim/gfx_opengl.cpp
index dc4b0fa3e3..a758f311e1 100644
--- a/engines/grim/gfx_opengl.cpp
+++ b/engines/grim/gfx_opengl.cpp
@@ -1902,8 +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);
+	glCallLists(strlen(text), GL_UNSIGNED_BYTE, (void *)list);
 
 	glEnable(GL_LIGHTING);
 




More information about the Scummvm-git-logs mailing list