13 hours ago, GoliathForge said:The quick fix might be to call glfwGetFramebufferSize() just before you build your projection and use those returned values instead of your member held dimensions and get rid of the test flat decoration(window style?)
finally i have figured out and solve the problem( of course with your help ), after you suggested that, set the frame buffer size as window height and width before projection matrix creation, i tried and it didn't work because problem was something else. I didn't Listen to you (@GoliathForge) because of this (Note :it is not my excuse i am explaining real scenario.)
i have been doing this since when i ported to glfw within each iteration, where global is my camera pointer. It didn't work this time too because this was not the problem ( As i mentioned before the ambiguous output ). It is very hard to explain what i thought. In simple words the problem was i didn't updated the drivers of intel gpu and now i have updated them so problem solved( And it also explains why the program was working correctly only on nvidia gpu).
Thanks all of you and Sorry because every single thread i created here on this website for my problem is based on my own dumb mistakes and i always figure them out very late????????.