You are applying printf's decimal integer formatting (%d) to the values of type "double",...
You are applying printf's decimal integer formatting (%d) to the values of type "double",...
%d is for integers, use %f. To get integers floor the result. Doubles is because...
%d is for integers, use %f.
Hi! Not a GLFW issue. I've compiled it on Xubuntu 15.04 64-bit. All OK. BTW, why...
Maybe OP just wanted his own window decorations - title bar, window buttons - and...
Try to set window position twice like this: glfwSetWindowPos(mainwindow, posx, posy);...
Try to set window position twice like this: glfwSetWindowPos(mainwindow, posx, posy);...