Advertisement

Latest resize Activity

@a light breeze This slightly helped, as I have just realized what the problem was,

var docHeight = $(document).height();
var docWidth = $(document).width();

it was with these two functions, all I had to do to make it work the way that I wanted was by changing the document's to window so that it wasn…

5,217 views
Advertisement

@joakim.wennergren@databeams.se 

I think i solved it now. 

I replaced glfwPollEvents with glfwWaitEvents(). 

and replaced my cameralogic and passed the window to the draw functions again! 

Voilá:

5,593 views
Advertisement
Advertisement