Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzYUV.m @ 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 | 376665398b25 |
children | 9f59d4c5aaea |
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) {