Change setDirectRenderSurface to return the result

No need to hide the bool.
Merge pull request #10 from mikkoharju/master

Change setDirectRenderSurface to return the result