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

error, instead of zero, contrary to documentation.

    Fixes Bugzilla #165.
This commit is contained in:
Ryan C. Gordon
2006-03-15 05:52:31 +00:00
parent 0f90b82189
commit f24d7d8095

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) {