help me running HelloWorld example in wince6 ogles1 driver

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
xuhuandong
Posts: 3
Joined: Thu Sep 15, 2011 12:48 pm

help me running HelloWorld example in wince6 ogles1 driver

Post by xuhuandong »

hi all.my platform's information is :
os:WinCE6
Irrlicht Engine version: 1.8.0-alpha
EGL version: 1.300000
Using renderer: GLES Version 1.1 Last Built : Jun 9 2010

so I select EDT_OGLES1 video driver type.After some other compile configuration,the HelloWorld expample could not work which load sydney.md2 mesh file.I debug the problem,it seems eglSwapBuffers(EglDisplay, EglSurface) function never returns when calling driver->endScene() in the game loop.Howerver,the UserInterface example and example_terrain could work.
Can anyone help me please.it's urgent.thanks very much
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: help me running HelloWorld example in wince6 ogles1 driv

Post by mongoose7 »

I know nothing about GL-ES but, as you have asked I think three times already, I'll give you some tips.

Your code hangs in SwapBuffers(). Comment out all your own code and see if it runs. You should have a blank screen of course, but see if SwapBuffers() returns. Presumably it does because the other examples work.

Now add back lines of code until it no longer works. This should give you an indication od what is going wrong.
xuhuandong
Posts: 3
Joined: Thu Sep 15, 2011 12:48 pm

Re: help me running HelloWorld example in wince6 ogles1 driv

Post by xuhuandong »

Thank you very much.So kind of you.I'll try it and then show you the result.thanks
Post Reply