cloderic / ios-ogre

Test iOS application using Ogre 3D

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS: Using an external window handle, gl invalid error.

TingruW opened this issue · comments

Hi, cloderic,
Your example runs perfectly on my iphone, then I did some changes that integrated an AR engine which uses the camera input as a texture for background. Compile succeed but when it runs to
" mRenderWindow = mRoot->createRenderWindow("OGRE",width,height,false,&params); "
there is error says " GL invalid error.", the log shows "iOS: Using an external window handle,iOS: Using an external view handle", nothing appears on the screen of course.
Do you have any idea about how to fix this problem? thanks in advance.