From 41176a7d02c5143b1a1a8fe72c4c660577203952 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 9 Mar 2016 11:22:09 +0100 Subject: [PATCH] Fixed: OpenGL ES driver compilation --HG-- branch : develop --- code/nel/src/3d/driver/opengl/driver_opengl.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl.cpp b/code/nel/src/3d/driver/opengl/driver_opengl.cpp index e247275ab..8ad9228ef 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl.cpp @@ -1203,6 +1203,7 @@ sint CDriverGL::getTotalVideoMemory() const { H_AUTO_OGL(CDriverGL_getTotalVideoMemory); +#ifndef USE_OPENGLES if (_Extensions.NVXGPUMemoryInfo) { GLint memoryInKiB = 0; @@ -1306,6 +1307,10 @@ sint CDriverGL::getTotalVideoMemory() const } #endif +#else + // TODO: implement for OpenGL ES +#endif + return -1; }