wiggling around with the whole notion of what a renderer does and what not. Added simple wrapper for GLFWmonitor named display

This commit is contained in:
Hartmut Seichter 2019-01-13 22:14:41 +01:00
parent 3cc0fde1e1
commit 9773103a18
13 changed files with 252 additions and 148 deletions

View file

@ -73,6 +73,11 @@ w.title = "pixwerx 0.1"
-- set size
w.size = pw.size.new(1200,800)
local ds = pw.display:all()
for i = 1,#ds do
print("display ",i,ds[i].name)
end
while w:update()
do