summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/gl/value.hpp')
-rw-r--r--src/mbgl/gl/value.hpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mbgl/gl/value.hpp b/src/mbgl/gl/value.hpp
index b8656db5b0..d4c7b5cdc3 100644
--- a/src/mbgl/gl/value.hpp
+++ b/src/mbgl/gl/value.hpp
@@ -239,6 +239,20 @@ struct BindVertexArray {
static Type Get(const Context&);
};
+struct PixelStorePack {
+ using Type = PixelStorageType;
+ static const constexpr Type Default = { 4 };
+ static void Set(const Type&);
+ static Type Get();
+};
+
+struct PixelStoreUnpack {
+ using Type = PixelStorageType;
+ static const constexpr Type Default = { 4 };
+ static void Set(const Type&);
+ static Type Get();
+};
+
#if not MBGL_USE_GLES2
struct PointSize {
@@ -278,20 +292,6 @@ constexpr bool operator!=(const RasterPos::Type& a, const RasterPos::Type& b) {
return a.x != b.x || a.y != b.y || a.z != b.z || a.w != b.w;
}
-struct PixelStorePack {
- using Type = PixelStorageType;
- static const constexpr Type Default = { 4 };
- static void Set(const Type&);
- static Type Get();
-};
-
-struct PixelStoreUnpack {
- using Type = PixelStorageType;
- static const constexpr Type Default = { 4 };
- static void Set(const Type&);
- static Type Get();
-};
-
struct PixelTransferDepth {
struct Type {
float scale;