changeset 1541:157001382dfd

Quartz implementation for SDL_DisplayYUVOverlay() was returning non-zero on error, instead of zero, contrary to documentation. Fixes Bugzilla #165.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 15 Mar 2006 05:52:31 +0000
parents a0dd1bc34114
children a8bf1aa21020
files src/video/quartz/SDL_QuartzYUV.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzYUV.m	Wed Mar 15 04:32:49 2006 +0000
+++ b/src/video/quartz/SDL_QuartzYUV.m	Wed Mar 15 05:52:31 2006 +0000
@@ -83,7 +83,7 @@
         SDL_SetError ("DecompressSequenceFrameS failed");
     }
 
-    return err == noErr;
+    return err != noErr;
 }
 
 static void QZ_FreeHWYUV (_THIS, SDL_Overlay *overlay) {