# HG changeset patch # User Ryan C. Gordon # Date 1142401951 0 # Node ID 157001382dfd5942f92abfe878724154a5329d6f # Parent a0dd1bc3411429864d182c59d2372556e1ea3b97 Quartz implementation for SDL_DisplayYUVOverlay() was returning non-zero on error, instead of zero, contrary to documentation. Fixes Bugzilla #165. diff -r a0dd1bc34114 -r 157001382dfd src/video/quartz/SDL_QuartzYUV.m --- 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) {