Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ウィンドウ処理にGLFWを使用するゲームの場合、ユーザーが閉じるボタンを使用してゲームウィンドウを閉じることを禁止したいと思います。これを行うためのクロスプラットフォームの方法はありますか?
glfwSetWindowCloseCallback常にを返すコールバックを設定するために使用しますGL_FALSE。
glfwSetWindowCloseCallback
GL_FALSE