看起来更像 Dear ImGui 一些(looks more like Dear ImGui

This commit is contained in:
shenjack 2023-08-29 20:38:54 +08:00
parent eaa4c2444d
commit 42cc55bf96
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -321,7 +321,7 @@ class ClientWindow(Window):
def on_draw(self):
while (command := self.game.console.get_command()) is not None:
self.on_command(line.CommandText(command))
pyglet.gl.glClearColor(0.1, 0, 0, 0.0)
pyglet.gl.glClearColor(21/255, 22/255, 23/255, 0.0)
self.clear()
# self.draw_update(dt) # TODO: wait for pyglet 2.1
self.draw_update(float(self.SPF))