1
Graphics / Re: Check if a Texture has an Image loaded?
« on: June 09, 2015, 12:59:41 am »
Looking at the responses here http://stackoverflow.com/questions/7200674/is-null-defined-as-nullptr-in-c11 it seems to imply that NULL is implicitly converted to nullptr in C++11 so code such as
Code: [Select]
if (mySprite.getTexture() == nullptr)
will be fine?