views:

118

answers:

2

Does anybody know how to force 4:3 when enabling fullscreen mode using OpenGL and AGL?

+1  A: 

Create a regular context at the native resolution of the display and then make a FBO with the desired aspect ratio, render your scene to that, and then use the FBO texture to render a quad with the correct aspect ratio to the screen.

genpfault
+2  A: 

Create a fullscreen window, then call glViewport with the approriate parameters in order to select the 4:3 area.

Luca