Been trying to use glfwGetFrameBufferSize to get the pixel area of my window, however when passing in my window for the first parameter it says the type is invalid and the docs say it requests a type of GLFWwindow, which as far as im aware doesn't exist.
The exact error message is as follows: "The method glfwGetFrameBufferSize(long, int, int) is undefined for the type Window"
Anyone know any solutions?
As it says, the signature of your method is wrong. glfwGetFrameBufferSize
wants a signature (long, IntBuffer, IntBuffer)
. Maybe you are checking the C++ documentation. Also, it is a static method, so you want to call it directly from the class GLFW
and not from its instances.