Added todo in code and removed useless image
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user