Quartz implementation for SDL_DisplayYUVOverlay() was returning non-zero on

error, instead of zero, contrary to documentation.

    Fixes Bugzilla #165.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401545
This commit is contained in:
Ryan C. Gordon 2006-03-15 05:52:31 +00:00
parent c257b720b8
commit 1d4a0106b4

View file

@ -83,7 +83,7 @@ static int QZ_DisplayYUV (_THIS, SDL_Overlay *overlay, SDL_Rect *dstrect) {
SDL_SetError ("DecompressSequenceFrameS failed");
}
return err == noErr;
return err != noErr;
}
static void QZ_FreeHWYUV (_THIS, SDL_Overlay *overlay) {