glob3mobile / g3m

The multiplatform advanced visualization framework
http://www.glob3mobile.com/
Other
116 stars 56 forks source link

Problem deleting VBO when comming from ESRI AGSMapView #185

Open mememto opened 8 years ago

mememto commented 8 years ago

Hi @DiegoGomezDeck , first of all thanks for your great framework.

I'm making an app that mixes G3M and ESRI iOS SDK (Objective-C) frameworks and i've found some strange issues (i suppose they are related with OpenGL ES behavior). The thing is that I have a UIViewController where one AGSMapView is loaded. This viewcontroller is inside one navigation controller and depending on user interaction, one new viewcontroller with one G3MWidget can be pushed.

In this scenario, everything works as expected, but whenever the user shows the "Control Center" dragging from the bottom border of the screen or turns off the screen by pressing the power button and re-enters the app inmediatly, the "Problem deleting VBO" exception (@ FloatBuffer_iOS.cpp with glGetError() == 502) is triggered and the app crashes.

Not sure of what's going on here. Any advices on these?

Thanks in advance,

María.