Sign in to follow this  

Different window sizes = weird textures

This topic is 4583 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

hiya, I have an issue I would like to know the exact reason for. I am creating a 2D game tiling Quads on a simple map. The quads are quite small, and it tends to make my BMPs look different than initially expected. I can live with that, but the issue arises when the user resizes the window, the textured quads now display the BMPs that are skewed differently. Also, to show the user their level of power, life, etc, I simply draw lines in a for loop based on the value. It looks fine in the initial window state, but when the scene is resized differently, there are gaps between some of the lines. Why would this happen?? What should I be looking at to fix this?

Share this post


Link to post
Share on other sites
Make a resize function check NeHe tutorials about this.

-Edit:
About the texture make sure you setup this flag GL_TEXTURE_MAG_FILTER .
bye

Share this post


Link to post
Share on other sites

This topic is 4583 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this