Update window higth

eugibob wrote on Friday, October 23, 2015:

hello,

could some one help me out :slight_smile: i have no idea :smiley:

  private static void updateWidthHeight() {
         // TODO: initialize bytebuffers
    	

        // TODO: get window size and store in respective buffers
    	
    	
    	// TODO: set height to value from buffer


        // TODO: adjust framebuffer width to keep aspect ratio

    }

dougbinks wrote on Friday, October 23, 2015:

See http://www.glfw.org/docs/latest/window.html#window_size for guidance.