From 44f8290d7746ba17a21e91d9a45ad44030e6010b Mon Sep 17 00:00:00 2001 From: Deve Date: Fri, 8 Jul 2016 01:02:25 +0200 Subject: [PATCH] Added gles renderer to the warning about incompatible irrlicht version --- src/graphics/irr_driver.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index b68dcc329..e4879ba9b 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -74,7 +74,9 @@ */ #if (IRRLICHT_VERSION_MAJOR < 1 || IRRLICHT_VERSION_MINOR < 7 || \ - _IRR_MATERIAL_MAX_TEXTURES_ < 8 || !defined(_IRR_COMPILE_WITH_OPENGL_) || \ + _IRR_MATERIAL_MAX_TEXTURES_ < 8 || \ + (!defined(_IRR_COMPILE_WITH_OPENGL_) && \ + !defined(_IRR_COMPILE_WITH_OGLES2_)) || \ !defined(_IRR_COMPILE_WITH_B3D_LOADER_)) #error "Building against an incompatible Irrlicht. Distros, \ please use the included version."