Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed error check
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 11, 2011
1 parent df5f1c3 commit 3cef5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testoverlay2.c
Expand Up @@ -491,7 +491,7 @@ main(int argc, char **argv)
}

MooseTexture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_YV12, SDL_TEXTUREACCESS_STREAMING, MOOSEPIC_W, MOOSEPIC_H);
if (!renderer) {
if (!MooseTexture) {
fprintf(stderr, "Couldn't set create texture: %s\n", SDL_GetError());
free(RawMooseData);
quit(5);
Expand Down

0 comments on commit 3cef5cf

Please sign in to comment.