diff options
Diffstat (limited to 'src/opengl/qopengltexture.h')
| -rw-r--r-- | src/opengl/qopengltexture.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/opengl/qopengltexture.h b/src/opengl/qopengltexture.h index 28bd5a07ccd..c56f832035a 100644 --- a/src/opengl/qopengltexture.h +++ b/src/opengl/qopengltexture.h @@ -550,9 +550,14 @@ public: CompareLess = 0x0201, // GL_LESS CompareGreater = 0x0204, // GL_GREATER CompareEqual = 0x0202, // GL_EQUAL - CommpareNotEqual = 0x0205, // GL_NOTEQUAL + CompareNotEqual = 0x0205, // GL_NOTEQUAL CompareAlways = 0x0207, // GL_ALWAYS - CompareNever = 0x0200 // GL_NEVER + CompareNever = 0x0200, // GL_NEVER + +#if QT_DEPRECATED_SINCE(6, 1) + CommpareNotEqual Q_DECL_ENUMERATOR_DEPRECATED_X( + "Use CompareNotEqual instead.") = CompareNotEqual +#endif }; Q_ENUM(ComparisonFunction) |
