From 0bf5a192f465f3f8d92497a0fe32e4006e9ed0f3 Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sun, 7 Jun 2020 22:00:49 +0300 Subject: [PATCH] fix sys_fatal() warnings in gfx --- src/pc/gfx/gfx_opengl.c | 1 + src/pc/gfx/gfx_opengl_legacy.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pc/gfx/gfx_opengl.c b/src/pc/gfx/gfx_opengl.c index a0c27be..b131144 100644 --- a/src/pc/gfx/gfx_opengl.c +++ b/src/pc/gfx/gfx_opengl.c @@ -33,6 +33,7 @@ #endif +#include "../platform.h" #include "gfx_cc.h" #include "gfx_rendering_api.h" diff --git a/src/pc/gfx/gfx_opengl_legacy.c b/src/pc/gfx/gfx_opengl_legacy.c index 6ff04a7..29a3a69 100644 --- a/src/pc/gfx/gfx_opengl_legacy.c +++ b/src/pc/gfx/gfx_opengl_legacy.c @@ -40,6 +40,7 @@ static PFNMGLFOGCOORDPOINTERPROC mglFogCoordPointer = NULL; #define GL_FOG_COORD 0x8451 #define GL_FOG_COORD_ARRAY 0x8457 +#include "../platform.h" #include "gfx_cc.h" #include "gfx_rendering_api.h" #include "macros.h"