src/render/direct3d11/SDL_render_d3d11.c
changeset 8674 d7d2e69a0b08
parent 8672 763f551235af
child 8679 dd52820b7f5c
     1.1 --- a/src/render/direct3d11/SDL_render_d3d11.c	Sun Mar 23 23:08:26 2014 -0700
     1.2 +++ b/src/render/direct3d11/SDL_render_d3d11.c	Sun Mar 23 23:09:22 2014 -0700
     1.3 @@ -1593,9 +1593,8 @@
     1.4  
     1.5      /* Let the application know that the device has been reset */
     1.6      {
     1.7 -        /* TODO/FIXME: consider adding a new SDL event to indicate that the entire rendering device has been reset, not just render targets! */
     1.8          SDL_Event event;
     1.9 -        event.type = SDL_RENDER_TARGETS_RESET;
    1.10 +        event.type = SDL_RENDER_DEVICE_RESET;
    1.11          SDL_PushEvent(&event);
    1.12      }
    1.13