DrawText() doesn't seem to be working properly. I keep getting the following error:
error C2665: 'DrawTextW' : none of the 2 overloads could convert all the argument types
I've tried these two implementations:
1.
// in struct creation
string output;
//in default constructor
output = "Default Setup";
// in game loop
DrawText(32,32,aiONE->output);
2.
// Before game loop
std::string text = "Hello, world!";
// in Game loop
DrawText(0, 0, text.c_str());
Just trying to get it to display a variable defined earlier. I am obviously not handling the string right in some way.
This works of course:
DrawText(0, 0, "Hello World");
Also, what's the easiest way to display FPS?
-Thanks,
Porsche