test/testoverlay2.c
changeset 5252 ec30f9d4c2a8
parent 5216 16d5e8e90e01
child 5264 7ace5f8f432f
equal deleted inserted replaced
5251:1b0de3574c58 5252:ec30f9d4c2a8
   489         free(RawMooseData);
   489         free(RawMooseData);
   490         quit(4);
   490         quit(4);
   491     }
   491     }
   492 
   492 
   493     MooseTexture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_YV12, SDL_TEXTUREACCESS_STREAMING, MOOSEPIC_W, MOOSEPIC_H);
   493     MooseTexture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_YV12, SDL_TEXTUREACCESS_STREAMING, MOOSEPIC_W, MOOSEPIC_H);
   494     if (!renderer) {
   494     if (!MooseTexture) {
   495         fprintf(stderr, "Couldn't set create texture: %s\n", SDL_GetError());
   495         fprintf(stderr, "Couldn't set create texture: %s\n", SDL_GetError());
   496         free(RawMooseData);
   496         free(RawMooseData);
   497         quit(5);
   497         quit(5);
   498     }
   498     }
   499 
   499