Compare commits
1 commit
master
...
nonfullscr
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d96a63a56f |
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ cdef class Window:
|
||||||
bytetext = unicode(title).encode('UTF-8','ignore')
|
bytetext = unicode(title).encode('UTF-8','ignore')
|
||||||
c_title = bytetext
|
c_title = bytetext
|
||||||
|
|
||||||
self.thisptr = glfwCreateWindow(width, height, c_title, glfwGetPrimaryMonitor(), NULL)
|
self.thisptr = glfwCreateWindow(width, height, c_title, glfwGetPrimaryMonitor() if fullscreen else NULL, NULL)
|
||||||
if self.thisptr == NULL:
|
if self.thisptr == NULL:
|
||||||
raise GLError('failed to open window')
|
raise GLError('failed to open window')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue