PDA

View Full Version : Do not shrink image



appdeveloper
10-13-2009, 08:19 AM
I'm using the SimpleOpenGLControl and i need to texture an image on an polygon that is drawn in the control. The problem is that the image is streched if the control is not a square, but i need to define the controls width at run time according to the user screen, so the control will never be a square. Is there any possibility that the control doesn't strech the image (textured polygon)?


My thanks in advanced