diff options
Diffstat (limited to 'src/mbgl/gl/gl_config.cpp')
-rw-r--r-- | src/mbgl/gl/gl_config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbgl/gl/gl_config.cpp b/src/mbgl/gl/gl_config.cpp index ecf987876c..c3c6601e43 100644 --- a/src/mbgl/gl/gl_config.cpp +++ b/src/mbgl/gl/gl_config.cpp @@ -21,5 +21,10 @@ const Program::Type Program::Default = 0; const LineWidth::Type LineWidth::Default = 1; const ActiveTexture::Type ActiveTexture::Default = GL_TEXTURE0; +#ifndef GL_ES_VERSION_2_0 +const PixelZoom::Type PixelZoom::Default = { 1, 1 }; +const RasterPos::Type RasterPos::Default = {{ 0, 0, 0, 0 }}; +#endif // GL_ES_VERSION_2_0 + } // namespace gl } // namespace mbgl |