Added todo in code and removed useless image

This commit is contained in:
plane000
2018-10-10 20:32:31 +01:00
parent faf47367eb
commit 9b13205b86
2 changed files with 1 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ void Renderer::RenderTexture(Rect* fromRect, Rect* toRect, SDL_Texture* texture)
SDL_RenderCopy(SDLRenderer, texture, fromRect->ToSDLRect(), &toSDLRect);
}
//TODO: apply camera renderer to these next 3 methiods
void Renderer::RenderTexture(Rect* fromRect, Rect* toRect, SDL_Surface* surface) {
SDL_Texture* texture = SDL_CreateTextureFromSurface(SDLRenderer, surface);
SDL_RenderCopy(SDLRenderer, texture, fromRect->ToSDLRect(), toRect->ToSDLRect());

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 KiB