diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-07 15:46:16 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-06-13 10:18:43 -0700 |
commit | b201a7900f989af432aaea500a0e6c5ea5bbba53 (patch) | |
tree | 4786889bb4dcec59f2e0e0ee4171facbea372756 /src/mbgl/gl/context.hpp | |
parent | f5d3b850bff06e3cd4d4bcff288dceeb53cfa82d (diff) | |
download | qtlocation-mapboxgl-b201a7900f989af432aaea500a0e6c5ea5bbba53.tar.gz |
[core] glPixelStorei is in OpenGL ES 2
Diffstat (limited to 'src/mbgl/gl/context.hpp')
-rw-r--r-- | src/mbgl/gl/context.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp index 9086b8c955..4f5b4c797c 100644 --- a/src/mbgl/gl/context.hpp +++ b/src/mbgl/gl/context.hpp @@ -206,11 +206,12 @@ public: State<value::BindVertexBuffer> vertexBuffer; State<value::BindElementBuffer> elementBuffer; + State<value::PixelStorePack> pixelStorePack; + State<value::PixelStoreUnpack> pixelStoreUnpack; + #if not MBGL_USE_GLES2 State<value::PixelZoom> pixelZoom; State<value::RasterPos> rasterPos; - State<value::PixelStorePack> pixelStorePack; - State<value::PixelStoreUnpack> pixelStoreUnpack; State<value::PixelTransferDepth> pixelTransferDepth; State<value::PixelTransferStencil> pixelTransferStencil; #endif // MBGL_USE_GLES2 |