Changing screen orientation in real time

Posted:
Jan 11, 2004 @ 2:54pm
by egarayblas
Can I change my game's orientation in real time using CGapiApplication? Can anyone share some sample code on how to do this?
Thanks in advance.

Posted:
Jan 11, 2004 @ 3:37pm
by ruis
Hello
The simple demo program included with GapiDraw shows how to change display orientation in real time using CGapiApplication::SetDisplayMode().
What happens is that after CGapiDisplay::SetDisplayMode() is called, the two CreateSurfaces methods in CGapiApplication is called to make all surfaces match the orientation of the display.
//Erik