Spaces:
Paused
Paused
Suprhimp commited on
Commit ·
501547f
1
Parent(s): bfa5643
Update opengl.py
Browse files41 unmodified lines424344454647484941 unmodified lines# Create window# Size (1, 1) for show nothing in windowglfw.window_hint(glfw.VISIBLE, False)window = glfw.create_window(1, 1, "My OpenGL window", None, None)# window = glfw.create_window(800, 600, "My OpenGL window", None, None)# Terminate if any issueif not window:41 unmodified lines424344454647484941 unmodified lines# Create window# Size (1, 1) for show nothing in windowglfw.window_hint(glfw.VISIBLE, False)# window = glfw.create_window(1, 1, "My OpenGL window", None, None)window = glfw.create_window(image.width,image.height, "My OpenGL window", None, None)# Terminate if any issueif not window:
opengl.py+2-2