问题
I made a game using SDL and OpenGL in C++, which is of course common for games. Windows 10 should be able to detect that it's a game and show the Game Bar when starting it, but it doesn't. What can I do to make Windows 10 detect it as a game?
回答1:
Windows cannot "detect" that you are playing a game. There is literally no way for it to magically work that out. Heck, I can think of a number of kinds of programs that a human would have difficulty categorising as a game or not (such as Stack Overflow, which doesn't use OpenGL or SDL whatsoever!).
Load up the game bar with Win+G, and check "Yes, this is a game" so that Windows remembers for next time.
- http://www.tenforums.com/tutorials/8686-game-dvr-remember-game-undo-windows-10-a.html
来源:https://stackoverflow.com/questions/35141584/how-to-make-windows-10-game-bar-appear-on-game