]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/backend.h
Move backend information into Device
[libs/gl.git] / source / core / backend.h
index 0dd0172c503637a388932468a4439d1d12ebd959..2d58d38731a71402595fc50c17650d2518328729 100644 (file)
@@ -14,10 +14,10 @@ enum GraphicsApi
 
 struct Version
 {
-       unsigned short major;
-       unsigned short minor;
+       unsigned short major = 0;
+       unsigned short minor = 0;
 
-       Version();
+       Version() = default;
        Version(unsigned short, unsigned short);
        Version(const std::string &);
 
@@ -29,9 +29,6 @@ struct Version
 /** Returns the backend for which the library was compiled. */
 GraphicsApi get_backend_api();
 
-/** Returns the backend version number, as reported by the implementation. */
-const Version &get_backend_version();
-
 } // namespace GL
 } // namespace Msp