16
Graphics / Load Font from Memory
« on: December 12, 2009, 06:53:02 pm »
Thanks. I was working with two similar functions, I allocated the string in one, but not the other.
I figured out that one reason it wasn't working was because I was deleting the buffer, so it was trying to access memory that wasn't there. I ended up just having the function return the buffer instead of a std::string.
Thanks for the help.
I figured out that one reason it wasn't working was because I was deleting the buffer, so it was trying to access memory that wasn't there. I ended up just having the function return the buffer instead of a std::string.
Thanks for the help.