Hi,
I found that doing:
Surface *S = new Surface(0,0);
doesn't fail and returns a pointer to the surface. Is this normal behavior? How can we check if the returned surface is valid?
Thanks!
--Eric
I found that doing:
Surface *S = new Surface(0,0);
doesn't fail and returns a pointer to the surface. Is this normal behavior? How can we check if the returned surface is valid?
Thanks!
--Eric