Commit 1d4a0106 authored by Ryan C. Gordon's avatar Ryan C. Gordon

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
parent c257b720
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment