X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fbackend.h;h=abdb4ccf4b27a72e6af5375f5a0ce0839816b928;hp=0dd0172c503637a388932468a4439d1d12ebd959;hb=7ef75a4c4dbfc437e466381dd67c23357e607b82;hpb=e6077f9f25b794c174e1017c2c0763e77a6fddda diff --git a/source/core/backend.h b/source/core/backend.h index 0dd0172c..abdb4ccf 100644 --- a/source/core/backend.h +++ b/source/core/backend.h @@ -9,15 +9,16 @@ namespace GL { enum GraphicsApi { OPENGL, - OPENGL_ES + OPENGL_ES, + VULKAN }; 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 +30,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