Current status of SDL.
This commit is contained in:
@@ -190,6 +190,8 @@ namespace hdk::sdl {
|
||||
}
|
||||
|
||||
bool RenderRect(const SDL_FRect* rect) const { return SDL_RenderRect(*this, rect); }
|
||||
bool RenderRect(const SDL_FRect&& rect) const { return SDL_RenderRect(*this, &rect); }
|
||||
|
||||
bool RenderRects(const SDL_FRect* rects, int count) const { return SDL_RenderRects(*this, rects, count); }
|
||||
bool RenderTexture(SDL_Texture* texture, const SDL_FRect* src, const SDL_FRect* dst) const {
|
||||
return SDL_RenderTexture(*this, texture, src, dst);
|
||||
@@ -242,6 +244,7 @@ namespace hdk::sdl {
|
||||
}
|
||||
bool ViewportSet() const { return SDL_RenderViewportSet(*this); }
|
||||
bool SetViewport(const SDL_Rect* rect) const { return SDL_SetRenderViewport(*this, rect); }
|
||||
bool SetViewport(const SDL_Rect&& rect) const { return SDL_SetRenderViewport(*this, &rect); }
|
||||
bool SetVSync(int vsync) const { return SDL_SetRenderVSync(*this, vsync); }
|
||||
/// Implemented in ../video.hpp to avoid circular dependency
|
||||
Window GetWindow() const;
|
||||
|
||||
Reference in New Issue
Block a user