Glfw-2.6.tar.gz bugged on x11 [with fix]

nobody wrote on Saturday, October 20, 2007:

I just downloaded glfw-2.6.tar.gz and compiled on x11 (Ubuntu 7.04).
I had the following error

x11_fullscreen.c: In function ‘_glfwGetClosestVideoMode’:
x11_fullscreen.c:169: error: ‘h’ undeclared (first use in this function)
x11_fullscreen.c:169: error: (Each undeclared identifier is reported only once
x11_fullscreen.c:169: error: for each function it appears in.)

I had to edit x11_fullscreen.c, line 169 and replace h with height.
Hope this helps and keep up the good work.

Fabrizio Villa "fbv"

elmindreda wrote on Saturday, October 20, 2007:

Yup, my mistake. Insufficient testing. It’s already fixed and included in 2.6.1 (which will hopefully be out soon), but thank you for reporting it :slight_smile: