X-Git-Url: https://eleni.mutantstargoat.com/git/?p=winnie;a=blobdiff_plain;f=src%2Fsdl%2Fgfx.cc;h=1c4f3479bd80fe8a6ebf781452fed8156898be2d;hp=aec9663a853f8eb1cf8c2762fe692236762926b0;hb=695cf39b73ecc76cbbc39e54f844ae55f4a9f938;hpb=52044efd7717f4b02bd463c9a26f83c9a41953ea diff --git a/src/sdl/gfx.cc b/src/sdl/gfx.cc index aec9663..1c4f347 100644 --- a/src/sdl/gfx.cc +++ b/src/sdl/gfx.cc @@ -25,10 +25,8 @@ bool init_gfx() SDL_ShowCursor(0); pixmap = new Pixmap; - pixmap->width = screen_rect.width; pixmap->height = screen_rect.height; - pixmap->pixels = (unsigned char*)fbsurf->pixels; return true;