diff options
Diffstat (limited to 'src/mbgl/gl/gl_config.hpp')
-rw-r--r-- | src/mbgl/gl/gl_config.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mbgl/gl/gl_config.hpp b/src/mbgl/gl/gl_config.hpp index 8ec191daf7..62dfbcadc0 100644 --- a/src/mbgl/gl/gl_config.hpp +++ b/src/mbgl/gl/gl_config.hpp @@ -56,6 +56,10 @@ public: program.reset(); lineWidth.reset(); activeTexture.reset(); +#ifndef GL_ES_VERSION_2_0 + pixelZoom.reset(); + rasterPos.reset(); +#endif // GL_ES_VERSION_2_0 } void setDirty() { @@ -76,6 +80,10 @@ public: program.setDirty(); lineWidth.setDirty(); activeTexture.setDirty(); +#ifndef GL_ES_VERSION_2_0 + pixelZoom.setDirty(); + rasterPos.setDirty(); +#endif // GL_ES_VERSION_2_0 } Value<StencilFunc> stencilFunc; @@ -95,6 +103,10 @@ public: Value<Program> program; Value<LineWidth> lineWidth; Value<ActiveTexture> activeTexture; +#ifndef GL_ES_VERSION_2_0 + Value<PixelZoom> pixelZoom; + Value<RasterPos> rasterPos; +#endif // GL_ES_VERSION_2_0 }; } // namespace gl |