summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/angle/src/libANGLE/Version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/angle/src/libANGLE/Version.h')
-rw-r--r--src/3rdparty/angle/src/libANGLE/Version.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/3rdparty/angle/src/libANGLE/Version.h b/src/3rdparty/angle/src/libANGLE/Version.h
index 72dfbb6b8d..7bd41846c8 100644
--- a/src/3rdparty/angle/src/libANGLE/Version.h
+++ b/src/3rdparty/angle/src/libANGLE/Version.h
@@ -9,23 +9,24 @@
#ifndef LIBANGLE_VERSION_H_
#define LIBANGLE_VERSION_H_
-#include <angle_gl.h>
-
namespace gl
{
struct Version
{
- Version();
- Version(GLuint major, GLuint minor);
+ constexpr Version();
+ constexpr Version(unsigned int major, unsigned int minor);
- GLuint major;
- GLuint minor;
+ unsigned int major;
+ unsigned int minor;
};
+bool operator==(const Version &a, const Version &b);
+bool operator!=(const Version &a, const Version &b);
bool operator>=(const Version &a, const Version &b);
+bool operator<=(const Version &a, const Version &b);
bool operator<(const Version &a, const Version &b);
-
+bool operator>(const Version &a, const Version &b);
}
#include "Version.inl"