summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-02-16 14:41:37 +1100
committerMatthew Waters <matthew@centricular.com>2016-02-16 14:41:37 +1100
commitb26301bc8dc2c085c1a9ac045378149c880fc185 (patch)
tree2f9fface5913f12e36bd8ad2128b625c18b76afb
parent02262a20e825f2adce966c662e071d274471a917 (diff)
downloadgstreamer-plugins-bad-b26301bc8dc2c085c1a9ac045378149c880fc185.tar.gz
gldebug: use the correct spelling for behavior
The headers use the american spelling of behavior not the UK/AUS version with the extra U.
-rw-r--r--gst-libs/gst/gl/gstgldebug.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gst-libs/gst/gl/gstgldebug.c b/gst-libs/gst/gl/gstgldebug.c
index 124402507..df9c8f9dd 100644
--- a/gst-libs/gst/gl/gstgldebug.c
+++ b/gst-libs/gst/gl/gstgldebug.c
@@ -34,11 +34,11 @@
#ifndef GL_DEBUG_TYPE_ERROR
#define GL_DEBUG_TYPE_ERROR 0x824C
#endif
-#ifndef GL_DEBUG_TYPE_DEPRECATED_BEHAVIOUR
-#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOUR 0x824D
+#ifndef GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR
+#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
#endif
-#ifndef GL_DEBUG_TYPE_UNDEFINED_BEHAVIOUR
-#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOUR 0x824E
+#ifndef GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR
+#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
#endif
#ifndef GL_DEBUG_TYPE_PORTABILITY
#define GL_DEBUG_TYPE_PORTABILITY 0x824F
@@ -224,9 +224,9 @@ _debug_type_to_string (GLenum type)
switch (type) {
case GL_DEBUG_TYPE_ERROR:
return "error";
- case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOUR:
+ case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR:
return "deprecated";
- case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOUR:
+ case GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR:
return "undefined";
case GL_DEBUG_TYPE_PORTABILITY:
return "portability";
@@ -254,11 +254,11 @@ _gst_gl_debug_callback (GLenum source, GLenum type, GLuint id, GLenum severity,
switch (type) {
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,
type_str, source_str, id, message);
break;
- case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOUR:
+ case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR:
case GL_DEBUG_TYPE_PORTABILITY:
GST_FIXME_OBJECT (context, "%s: GL %s from %s id:%u, %s", severity_str,
type_str, source_str, id, message);