[android] add support for gnustl
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <mbgl/gl/headless_backend.hpp>
|
||||
|
||||
#include <mbgl/util/string.hpp>
|
||||
#include <mbgl/util/logging.hpp>
|
||||
|
||||
#include <EGL/egl.h>
|
||||
@@ -98,7 +99,7 @@ public:
|
||||
|
||||
eglSurface = eglCreatePbufferSurface(eglDisplay->display, eglDisplay->config, surfAttribs);
|
||||
if (eglSurface == EGL_NO_SURFACE) {
|
||||
throw std::runtime_error("Could not create surface: " + std::to_string(eglGetError()));
|
||||
throw std::runtime_error("Could not create surface: " + util::toString(eglGetError()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user