mirror of
https://github.com/yawut/SDL.git
synced 2026-09-30 04:06:44 -05:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user