test/testoverlay2.c
changeset 5357 ea8fec220775
parent 5274 07559b6cb64f
child 5535 96594ac5fd1a
     1.1 --- a/test/testoverlay2.c	Sat Feb 19 23:39:04 2011 -0800
     1.2 +++ b/test/testoverlay2.c	Sun Feb 20 09:24:02 2011 -0800
     1.3 @@ -537,6 +537,7 @@
     1.4              switch (event.type) {
     1.5              case SDL_WINDOWEVENT:
     1.6                  if (event.window.event == SDL_WINDOWEVENT_RESIZED) {
     1.7 +                    SDL_RenderSetViewport(renderer, NULL);
     1.8                      displayrect.w = window_w = event.window.data1;
     1.9                      displayrect.h = window_h = event.window.data2;
    1.10                  }