OneLoneCoder / CommandLineFPS

A First Person Shooter at the command line? Yup...
599 stars 173 forks source link

Problem with Writeconsoleoutputcharacter #2

Closed ghost closed 5 years ago

ghost commented 5 years ago

clfps Where did I do wrong?

Igor-Polatajko commented 5 years ago

I had the same issue.

Just change WriteConsoleOutputCharacter(hConsole, screen, nScreenWidth nScreenHeight, { 0,0 }, &dwBytesWritten); To WriteConsoleOutputCharacterW(hConsole, screen, nScreenWidth nScreenHeight, { 0,0 }, &dwBytesWritten);

It should work))