[Scummvm-git-logs] scummvm master -> ac37fe40448c4025eb5ebe05341440341d383ae7

ccawley2011 noreply at scummvm.org
Thu Dec 9 22:37:40 UTC 2021


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:
ac37fe4044 GRIM: Avoid directly including system OpenGL headers


Commit: ac37fe40448c4025eb5ebe05341440341d383ae7
    https://github.com/scummvm/scummvm/commit/ac37fe40448c4025eb5ebe05341440341d383ae7
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2021-12-09T22:37:27Z

Commit Message:
GRIM: Avoid directly including system OpenGL headers

Changed paths:
    engines/grim/gfx_opengl.h


diff --git a/engines/grim/gfx_opengl.h b/engines/grim/gfx_opengl.h
index a8cd1dc42c..02733c6213 100644
--- a/engines/grim/gfx_opengl.h
+++ b/engines/grim/gfx_opengl.h
@@ -27,14 +27,7 @@
 
 #ifdef USE_OPENGL_GAME
 
-#ifdef USE_GLEW
-#include <GL/glew.h>
-#elif defined (SDL_BACKEND) && !defined(__amigaos4__)
-#include <SDL_opengl.h>
-#undef ARRAYSIZE
-#else
-#include <GL/gl.h>
-#endif
+#include "graphics/opengl/system_headers.h"
 
 namespace Grim {
 




More information about the Scummvm-git-logs mailing list