• Advertisement


This topic is now archived and is closed to further replies.

NeHe Base Code OOP - ChangeScreenResolution()

This topic is 5410 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I figured i could use ChangeScreenResolution() function in my code to change the full screen resolution but i cannot seem to resize the viewport for opengl. I have tried the function ReshapeGL() and it works for the width of the window but not the height. which to me doesn''t make much sence. I do send the same screen width and height to both functions so i know thats not the problem. Now i''m wondering is the only way to do it by destroying the window and then recreating it? or can i use the oop code to get it to work in some way? Thank you, Paul

Share this post

Link to post
Share on other sites

  • Advertisement