FlorianRhiem / pyGLFW

Python bindings for GLFW
MIT License
232 stars 36 forks source link

glfw.set_window_opacity :: TypeError: this function takes at least 2 arguments (1 given) #51

Closed mahroni-14 closed 4 years ago

mahroni-14 commented 4 years ago

Getting error when trying to call glfw.set_window_opacity. Here is the traceback significant part ->

File "/home/roni/.pyenv/versions/3.8.3/lib/python3.8/site-packages/glfw/init.py", line 1337, in set_window_opacity _glfw.glfwSetWindowOpacity(window) TypeError: this function takes at least 2 arguments (1 given)

Maybe the second param was missed somehow. I fixed it with passing the second param manually and it works.

FlorianRhiem commented 4 years ago

Hello, thank you for reporting this issue!

I've fixed it and released version 1.11.2 with the fix.