15 #include <vsg/core/Export.h>
22 #define VSG_VERSION_MAJOR 1
23 #define VSG_VERSION_MINOR 1
24 #define VSG_VERSION_PATCH 0
25 #define VSG_SOVERSION 14
27 #define VSG_VERSION_STRING "1.1.0"
28 #define VSG_SOVERSION_STRING "14"
31 #define VSG_MAX_DEVICES 1
34 #define VSG_SUPPORTS_ShaderCompiler 1
37 #define VSG_SUPPORTS_Windowing 1
44 unsigned int soversion;
47 extern VSG_DECLSPEC
struct VsgVersion vsgGetVersion();
48 extern VSG_DECLSPEC
const char* vsgGetVersionString();
49 extern VSG_DECLSPEC
const char* vsgGetSOVersionString();
53 extern VSG_DECLSPEC
int vsgBuiltAsSharedLibrary();
62 if (lhs.major < rhs.major)
return true;
63 if (lhs.major > rhs.major)
return false;
64 if (lhs.minor < rhs.minor)
return true;
65 if (lhs.minor > rhs.minor)
return false;
66 if (lhs.patch < rhs.patch)
return true;
67 if (lhs.patch > rhs.patch)
return false;
68 return lhs.soversion < rhs.soversion;