test/testoverlay2.c
changeset 5252 ec30f9d4c2a8
parent 5216 16d5e8e90e01
child 5264 7ace5f8f432f
     1.1 --- a/test/testoverlay2.c	Fri Feb 11 10:18:34 2011 -0800
     1.2 +++ b/test/testoverlay2.c	Fri Feb 11 11:43:58 2011 -0800
     1.3 @@ -491,7 +491,7 @@
     1.4      }
     1.5  
     1.6      MooseTexture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_YV12, SDL_TEXTUREACCESS_STREAMING, MOOSEPIC_W, MOOSEPIC_H);
     1.7 -    if (!renderer) {
     1.8 +    if (!MooseTexture) {
     1.9          fprintf(stderr, "Couldn't set create texture: %s\n", SDL_GetError());
    1.10          free(RawMooseData);
    1.11          quit(5);