Skip to content

Commit

Permalink
Quartz implementation for SDL_DisplayYUVOverlay() was returning non-z…
Browse files Browse the repository at this point in the history
…ero on

 error, instead of zero, contrary to documentation.

    Fixes Bugzilla #165.
  • Loading branch information
icculus committed Mar 15, 2006
1 parent 27c666f commit cc4b955
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/quartz/SDL_QuartzYUV.m
Expand Up @@ -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) {
Expand Down

0 comments on commit cc4b955

Please sign in to comment.