summaryrefslogtreecommitdiff
path: root/platform/android/src/android_renderer_backend.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-04-01 15:57:44 +0200
committerKonstantin Käfer <mail@kkaefer.com>2019-04-05 11:49:17 +0200
commita782a6d15b80dd83105604f3f779f6c83ba222e5 (patch)
tree62d83196baf28554cdd3144691b8210cc998af4a /platform/android/src/android_renderer_backend.cpp
parent865f8a6c03540e329ed6caef354799fb58b7ab6e (diff)
downloadqtlocation-mapboxgl-a782a6d15b80dd83105604f3f779f6c83ba222e5.tar.gz
[core] move BackendScope to gfx namespace
Diffstat (limited to 'platform/android/src/android_renderer_backend.cpp')
-rwxr-xr-xplatform/android/src/android_renderer_backend.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/src/android_renderer_backend.cpp b/platform/android/src/android_renderer_backend.cpp
index ae35acc5da..52a9a93170 100755
--- a/platform/android/src/android_renderer_backend.cpp
+++ b/platform/android/src/android_renderer_backend.cpp
@@ -13,7 +13,7 @@ namespace android {
* From mbgl::View
*/
void AndroidRendererBackend::bind() {
- assert(BackendScope::exists());
+ assert(gfx::BackendScope::exists());
setFramebufferBinding(0);
setViewport(0, 0, getFramebufferSize());
}
@@ -22,12 +22,12 @@ void AndroidRendererBackend::bind() {
* From mbgl::RendererBackend.
*/
gl::ProcAddress AndroidRendererBackend::getExtensionFunctionPointer(const char* name) {
- assert(BackendScope::exists());
+ assert(gfx::BackendScope::exists());
return eglGetProcAddress(name);
}
void AndroidRendererBackend::updateViewPort() {
- assert(BackendScope::exists());
+ assert(gfx::BackendScope::exists());
setViewport(0, 0, getFramebufferSize());
}
@@ -37,7 +37,7 @@ void AndroidRendererBackend::resizeFramebuffer(int width, int height) {
}
PremultipliedImage AndroidRendererBackend::readFramebuffer() const {
- assert(BackendScope::exists());
+ assert(gfx::BackendScope::exists());
return RendererBackend::readFramebuffer(getFramebufferSize());
}