diff options
author | Lauren Budorick <lauren@mapbox.com> | 2017-03-27 17:23:37 -0700 |
---|---|---|
committer | Lauren Budorick <lauren@mapbox.com> | 2017-04-24 17:08:47 -0700 |
commit | 3fd5d391e628a93047177c20539b2cba64ed39fc (patch) | |
tree | f0b1079da286e7eb0ff15ed28c6fd9f18d47806b | |
parent | eeeaf8f1031daba4c1e9728ab50600297c61e31b (diff) | |
download | qtlocation-mapboxgl-3fd5d391e628a93047177c20539b2cba64ed39fc.tar.gz |
Use GL_DEPTH_COMPONENT rather than GL_DEPTH_COMPONENT16 to allow for implementation-specific depth resolutions (fixes stripes/zigzags)
-rw-r--r-- | src/mbgl/gl/types.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gl/types.hpp b/src/mbgl/gl/types.hpp index ad0cd9f8b7..23b6899363 100644 --- a/src/mbgl/gl/types.hpp +++ b/src/mbgl/gl/types.hpp @@ -39,7 +39,7 @@ enum class RenderbufferType : uint32_t { RGBA = 0x8058, RGBA4 = 0x8056, DepthStencil = 0x88F0, - DepthComponent = 0x81A5, + DepthComponent = 0x1902, }; enum class TextureMipMap : bool { No = false, Yes = true }; |