diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-02-08 15:45:05 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-02-12 19:42:08 +0200 |
commit | 690833ef9212756cbdd1945e2f447f22cc05816e (patch) | |
tree | 4dca89518c6b54c60c669aacd8fbff9c15801418 /test/util | |
parent | 470b01847db1046bbae872f932b0e83ebf3af5f8 (diff) | |
download | qtlocation-mapboxgl-690833ef9212756cbdd1945e2f447f22cc05816e.tar.gz |
[core] Switch to the new OpenGL abstraction
This patch will make Mapbox GL Core never use OpenGL
directly. We should consider locking into OpenGL ES 2.0
to simplify the code path and remove #ifdefs.
Diffstat (limited to 'test/util')
-rw-r--r-- | test/util/offscreen_texture.test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/util/offscreen_texture.test.cpp b/test/util/offscreen_texture.test.cpp index 09c940c4c3..83c0fab509 100644 --- a/test/util/offscreen_texture.test.cpp +++ b/test/util/offscreen_texture.test.cpp @@ -1,13 +1,15 @@ #include <mbgl/test/util.hpp> -#include <mbgl/gl/gl.hpp> +#include <mbgl/platform/gl_functions.hpp> #include <mbgl/gl/context.hpp> +#include <mbgl/gl/defines.hpp> #include <mbgl/gl/headless_backend.hpp> #include <mbgl/renderer/backend_scope.hpp> #include <mbgl/util/offscreen_texture.hpp> using namespace mbgl; +using namespace mbgl::platform; TEST(OffscreenTexture, EmptyRed) { HeadlessBackend backend({ 512, 256 }); |