Page 1 of 1

Changing screen orientation in real time

PostPosted: 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.

PostPosted: 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

PostPosted: Jan 13, 2004 @ 3:41pm
by egarayblas