Hi! I've tried the temporary solution suggested in this thread in order to emulate a landscape orientation on iPhone, but all I got was a black screen.
I switched back to Visual Studio in order to make OpenGL work on PC first and found out that the following transformation works as expected (I'm attaching a screenshot that shows the program output):
As a side note, I've also made the following function call inside ClassMain::OnDisplayInit:
I still don't know why am I not getting a correct output on the iPhone, maybe a missing flag or something?
Thanks in advance for your answer!
--Nacho
I switched back to Visual Studio in order to make OpenGL work on PC first and found out that the following transformation works as expected (I'm attaching a screenshot that shows the program output):
- Code:
glTranslatef(320.0f, 0, 0);
glRotatef(90.0f, 0, 0.0f, 1.0f);
As a side note, I've also made the following function call inside ClassMain::OnDisplayInit:
- Code:
ecd.dsp->Perspective2D(320,480,false);
I still don't know why am I not getting a correct output on the iPhone, maybe a missing flag or something?
Thanks in advance for your answer!
--Nacho
Attachments:
FlipDisc-320x480-Win32.rar (277 KB)