]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/device.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / core / device.h
index 2b75e4c81a9d9613ee478fc64ac1e99c4aac3517..8c7e92a99f0144e6d4e0f8052314239d90913191 100644 (file)
@@ -17,6 +17,7 @@ struct DeviceLimits
        unsigned max_clip_planes = 6;
        unsigned max_vertex_attributes = 16;
        unsigned max_texture_bindings = 16;
+       unsigned max_storage_texture_bindings = 8;
        unsigned max_color_attachments = 8;
        unsigned max_samples = 4;
        unsigned max_uniform_bindings = 24;
@@ -48,7 +49,8 @@ private:
        static Device *current;
 
 public:
-       Device(Graphics::Window &, const DeviceOptions & = DeviceOptions());
+       Device(Graphics::Window &);
+       Device(Graphics::Window &, const DeviceOptions &);
        ~Device();
 
        using DeviceBackend::get_context;