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
c6d945120e
Use std::swap
2013-12-18 16:21:55 +04:00
Dmitry Marakasov
96576e112d
Add method to set color component multipliers
2013-12-18 06:16:10 +04:00
Dmitry Marakasov
92925a9620
Add a way to swap some types of objects
2013-12-18 06:15:46 +04:00
Dmitry Marakasov
c122f11643
Initial import
2013-09-06 01:47:05 +04:00