summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Ringwald <mringwal@inf.ethz.ch>2008-01-11 15:35:04 +0000
committerMatthias Ringwald <mringwal@inf.ethz.ch>2008-01-11 15:35:04 +0000
commit0c0bc8da469f415f3558010658df40349f9eca74 (patch)
tree80e165b49f5f64309cf7594a42807fca36c47fcc
parenta9aa9d58524fd95b1babe4a47308b126899c1113 (diff)
downloadxine-lib-0c0bc8da469f415f3558010658df40349f9eca74.tar.gz
xine-lib-0c0bc8da469f415f3558010658df40349f9eca74.tar.bz2
XineOpenViewGL bug on PPC/Darwin
Typo of WORDS_BIGENDIAN in in /src/video_out/macosx/XineVOpenGLView.m. It only affects big-endian systems (PowerPC) as it defaults to little-endian.
-rw-r--r--src/video_out/macosx/XineOpenGLView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_out/macosx/XineOpenGLView.m b/src/video_out/macosx/XineOpenGLView.m
index a9ffee00f..1f947ca16 100644
--- a/src/video_out/macosx/XineOpenGLView.m
+++ b/src/video_out/macosx/XineOpenGLView.m
@@ -340,7 +340,7 @@ NSColorToYUV(NSColor *color)
// http://developer.apple.com/samplecode/Sample_Code/Graphics_3D/TextureRange/MainOpenGLView.m.htm
glTexSubImage2D(GL_TEXTURE_RECTANGLE_EXT, 0, 0, 0,
videoSize.width, videoSize.height, GL_YCBCR_422_APPLE,
-#if WORDS_BIG_ENDIAN
+#if WORDS_BIGENDIAN
GL_UNSIGNED_SHORT_8_8_APPLE,
#else
GL_UNSIGNED_SHORT_8_8_REV_APPLE,