Page 1 of 1

Using hardware accelerated 2D on iPhone

PostPosted: Feb 9, 2009 @ 11:20pm
by Nacho84
Hi! In order to get better framerates for my game, I've decided to look into the OpenGL ES renderer. So far, I've #defined EGL_USEGL before including edgemain.h and make a call to ecd.dsp->Perspective2D(480, 320, true) following the instructions of the "Mix 2D and 3D rendering" sub-section from the "3D helper functions" section at the "Using 3D and OpenGL" tutorial. I placed the call at the very beginning of the ClassMain::OnNextFrame method (don't know if this is OK, though).

I must be doing something wrong, since all I'm getting is a black screen (the game is working, since I can hear the background music). What am I missing?

Thanks in advance for your replies,

--Nacho

PostPosted: Feb 11, 2009 @ 9:16am
by edge

PostPosted: Feb 11, 2009 @ 11:33am
by Nacho84

PostPosted: Feb 11, 2009 @ 11:48am
by Orion_

PostPosted: Feb 11, 2009 @ 12:15pm
by Nacho84

PostPosted: Feb 11, 2009 @ 12:21pm
by Orion_

PostPosted: Feb 11, 2009 @ 12:53pm
by Nacho84

PostPosted: Feb 11, 2009 @ 1:18pm
by Orion_

PostPosted: Feb 12, 2009 @ 10:04am
by edge