src/render/software/SDL_render_sw.c
changeset 6283 03a7ceb3487b
parent 6247 b6212690f78d
child 6320 6077a1310907
equal deleted inserted replaced
6282:64ae376becce 6283:03a7ceb3487b
   181 {
   181 {
   182     SW_RenderData *data = (SW_RenderData *) renderer->driverdata;
   182     SW_RenderData *data = (SW_RenderData *) renderer->driverdata;
   183 
   183 
   184     if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) {
   184     if (event->event == SDL_WINDOWEVENT_SIZE_CHANGED) {
   185         data->surface = NULL;
   185         data->surface = NULL;
       
   186         data->window = NULL;
   186     }
   187     }
   187 }
   188 }
   188 
   189 
   189 static int
   190 static int
   190 SW_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
   191 SW_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)