Permalink
Browse files

remove icon debug stuff

  • Loading branch information...
jacob1 committed Apr 23, 2018
1 parent bd8550c commit 802ec4d2520d0b486bcf2ecb86028ca3a07fbdf8
Showing with 0 additions and 10 deletions.
  1. +0 −10 src/PowderToySDL.cpp
@@ -88,16 +88,6 @@ void blit(pixel * vid)
SDL_UpdateTexture(sdl_texture, NULL, vid, WINDOWW * sizeof (Uint32));
SDL_RenderClear(sdl_renderer);
SDL_RenderCopy(sdl_renderer, sdl_texture, NULL, NULL);

/*SDL_Surface *icon = SDL_CreateRGBSurfaceFrom((void*)app_icon, 48, 48, 24, 144, 0x00FF0000, 0x0000FF00, 0x000000FF, 0);
SDL_Texture *iconicon = SDL_CreateTextureFromSurface(sdl_renderer, icon);
SDL_Rect a;
a.h = 48;
a.w = 48;
a.x = 0;
a.y = 0;
SDL_RenderCopy(sdl_renderer, iconicon, NULL, &a);*/

SDL_RenderPresent(sdl_renderer);
}
#endif

0 comments on commit 802ec4d

Please sign in to comment.