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:
parent
c257b720b8
commit
1d4a0106b4
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue