예제 #1
0
파일: window.py 프로젝트: gamesclub/Path
    def showWindow(self):
        GLFW.glfwMakeContextCurrent(self.__window)
        self.__initialize()

        while not GLFW.glfwWindowShouldClose(self.__window):
            self.__loop(self)

        GLFW.glfwTerminate()
예제 #2
0
 def should_draw(self):
     return self._window and not glfw.glfwWindowShouldClose(self._window)