Dmitry Marakasov
93a77542d8
Fix move assignments
...
- Add self-assignment checks
- Free resources of object which is going to be replaced to avoid
resource leaks
2014-11-30 01:22:22 +03:00
Dmitry Marakasov
42fa7bdd70
Fix return value checking
2014-07-21 19:12:48 +04:00
Dmitry Marakasov
2c7cb50fd9
Implement SetClipRect, SetScale, SetViewport, TargetSupported in Renderer
2014-02-17 03:28:57 +04:00
Dmitry Marakasov
2f91553068
Implement Renderer::ReadPixels
2014-02-11 07:41:20 +04:00
Dmitry Marakasov
c3702a1eb8
Add explicit check for nullptr before destroying SDL objects
...
This is not really needed as SDL has these checks internally,
but this way it's still safer and more apparent that moved-from
objects are handled properly.
2014-02-01 03:36:48 +04:00
Dmitry Marakasov
411c62a3cc
Implement c++11 move for renderers, textures and windows
2014-02-01 00:18:15 +04:00
Dmitry Marakasov
151f9704ac
Merge branch 'master' of github.com:AMDmi3/libSDL2pp
2013-12-18 06:22:47 +04:00
Dmitry Marakasov
51aee70136
Use int type for flip argument, as it's a bitfield and not a real enum
2013-12-18 06:16:10 +04:00
Dmitry Marakasov
7698a2522e
Add method to retrieve SDL_RendererInfo
2013-12-18 06:16:10 +04:00
Dmitry Marakasov
acebd488aa
Add a way to reset render target to default (e.g. screen)
2013-12-18 06:14:08 +04:00
Carl Schwope
0e663f21d7
call SDL_RenderFillRect
2013-11-15 01:44:22 -05:00
Dmitry Marakasov
df56f312ed
Add draw functions
2013-09-18 03:05:45 +04:00
Dmitry Marakasov
c122f11643
Initial import
2013-09-06 01:47:05 +04:00