Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed error check

  • Loading branch information
slouken committed Feb 11, 2011
1 parent df5f1c3 commit 3cef5cf423bf95a53a1faaa7ade007761812349d
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testoverlay2.c
@@ -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);

0 comments on commit 3cef5cf

Please sign in to comment.