cleanup: only build some files on WIN32 and compile EGL only if needed

This commit is contained in:
Loïc Blot
2023-08-01 20:53:25 +02:00
committed by GitHub
parent c311d01c07
commit d98dc90b38
11 changed files with 42 additions and 34 deletions

View File

@ -13,7 +13,7 @@
#include "fast_atof.h"
#if defined(_IRR_OGLES1_USE_EXTPOINTER_)
#if defined(_IRR_COMPILE_WITH_ANDROID_DEVICE_) || defined(_IRR_COMPILE_WITH_WINDOWS_DEVICE_)
#if defined(_IRR_COMPILE_WITH_ANDROID_DEVICE_) || defined(_IRR_WINDOWS_API_)
#include <EGL/egl.h>
#else
#include <GLES/egl.h>