summaryrefslogtreecommitdiff
path: root/src/mbgl/util/offscreen_texture.cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-09-08 14:26:59 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-09-11 10:17:54 -0700
commit2bbde6903adbea1dc7accce591c79a1d9b33b00c (patch)
treea83a1bbd8d8f50effc9d7f58d73ba1776fc3bea1 /src/mbgl/util/offscreen_texture.cpp
parent437f243d657e9ddb1d48b7c0eeabf261209de61e (diff)
downloadqtlocation-mapboxgl-2bbde6903adbea1dc7accce591c79a1d9b33b00c.tar.gz
[core] Rename for clarity: ActiveTexture → ActiveTextureUnit
Diffstat (limited to 'src/mbgl/util/offscreen_texture.cpp')
-rw-r--r--src/mbgl/util/offscreen_texture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/offscreen_texture.cpp b/src/mbgl/util/offscreen_texture.cpp
index 77a1416e48..d8a68b9a4a 100644
--- a/src/mbgl/util/offscreen_texture.cpp
+++ b/src/mbgl/util/offscreen_texture.cpp
@@ -32,7 +32,7 @@ public:
context.bindFramebuffer = framebuffer->framebuffer;
}
- context.activeTexture = 0;
+ context.activeTextureUnit = 0;
context.scissorTest = false;
context.viewport = { 0, 0, size };
}