mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Preview tweaks
This commit is contained in:
parent
dde1193237
commit
5c3575bf54
7
main.py
7
main.py
@ -78,10 +78,11 @@ def main(args, prof):
|
||||
|
||||
if args.gfx:
|
||||
import pyglet
|
||||
window = pyglet.window.Window(w, h)
|
||||
window = pyglet.window.Window(w, h, vsync=False)
|
||||
image = pyglet.image.CheckerImagePattern().create_image(w, h)
|
||||
label = pyglet.text.Label('Rendering first frame', x=5, y=5,
|
||||
font_size=16, bold=True)
|
||||
label = pyglet.text.Label('Rendering first frame', x=5, y=h-5,
|
||||
width=w, anchor_y='top', font_size=16,
|
||||
bold=True, multiline=True)
|
||||
|
||||
@window.event
|
||||
def on_draw():
|
||||
|
Loading…
Reference in New Issue
Block a user