Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Fixed clobbering viewport when window is resized when using the softw…

…are renderer. The viewport adjustment is already handled in the top level rendering code.
  • Loading branch information
slouken committed Aug 7, 2013
1 parent 42e679f commit 6437a1d1601ca77476fcc98d5c990b78286e68c5
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/render/software/SDL_render_sw.c
@@ -114,8 +114,6 @@ SW_ActivateRenderer(SDL_Renderer * renderer)
SDL_Surface *surface = SDL_GetWindowSurface(renderer->window);
if (surface) {
data->surface = data->window = surface;
renderer->viewport.w = surface->w;
renderer->viewport.h = surface->h;


0 comments on commit 6437a1d

Please sign in to comment.