Commit 202528a48f9d716fc3b8e432d347b4cc917b8d5c

Sam Lantinga 2013-09-28T14:07:17

Call AddRef() on the device so it doesn't accidentally get released from underneath the caller.