I got a little problem that hopefully is an easy to solve one.
I am using a mbp with a retina screen so when i in glfw call to create a window it creates one with twice the size of the parameters i send in.
I have implemented deffered rendering so i tried creating the textures with my desired resolution(half the size of the actual framebuffer). If I create my viewport with my desired resolution I only get a quarter of the screen when i draw out. But if I create a viewport with the actual frame buffer size I can scale up the texture but the center of the screen is somehow in the top corner, as if i try to move towards an object i move diagonally towards the top right corner.
Hope someone can shed some light on this one
thanks for your time!