gldebug: use the correct spelling for behavior

The headers use the american spelling of behavior not the UK/AUS version with
the extra U.
This commit is contained in:
Matthew Waters 2016-02-16 14:41:37 +11:00
parent 02262a20e8
commit b26301bc8d

View file

@ -34,11 +34,11 @@
#ifndef GL_DEBUG_TYPE_ERROR #ifndef GL_DEBUG_TYPE_ERROR
#define GL_DEBUG_TYPE_ERROR 0x824C #define GL_DEBUG_TYPE_ERROR 0x824C
#endif #endif
#ifndef GL_DEBUG_TYPE_DEPRECATED_BEHAVIOUR #ifndef GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR
#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOUR 0x824D #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
#endif #endif
#ifndef GL_DEBUG_TYPE_UNDEFINED_BEHAVIOUR #ifndef GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR
#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOUR 0x824E #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
#endif #endif
#ifndef GL_DEBUG_TYPE_PORTABILITY #ifndef GL_DEBUG_TYPE_PORTABILITY
#define GL_DEBUG_TYPE_PORTABILITY 0x824F #define GL_DEBUG_TYPE_PORTABILITY 0x824F
@ -224,9 +224,9 @@ _debug_type_to_string (GLenum type)
switch (type) { switch (type) {
case GL_DEBUG_TYPE_ERROR: case GL_DEBUG_TYPE_ERROR:
return "error"; return "error";
case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOUR: case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR:
return "deprecated"; return "deprecated";
case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOUR: case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR:
return "undefined"; return "undefined";
case GL_DEBUG_TYPE_PORTABILITY: case GL_DEBUG_TYPE_PORTABILITY:
return "portability"; return "portability";
@ -254,11 +254,11 @@ _gst_gl_debug_callback (GLenum source, GLenum type, GLuint id, GLenum severity,
switch (type) { switch (type) {
case GL_DEBUG_TYPE_ERROR: case GL_DEBUG_TYPE_ERROR:
case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOUR: case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR:
GST_ERROR_OBJECT (context, "%s: GL %s from %s id:%u, %s", severity_str, GST_ERROR_OBJECT (context, "%s: GL %s from %s id:%u, %s", severity_str,
type_str, source_str, id, message); type_str, source_str, id, message);
break; break;
case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOUR: case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR:
case GL_DEBUG_TYPE_PORTABILITY: case GL_DEBUG_TYPE_PORTABILITY:
GST_FIXME_OBJECT (context, "%s: GL %s from %s id:%u, %s", severity_str, GST_FIXME_OBJECT (context, "%s: GL %s from %s id:%u, %s", severity_str,
type_str, source_str, id, message); type_str, source_str, id, message);