Hi all,
I'm new to java programming and threads, but have some experience with c++ and opengl, so I guess this is an easy one to answer.
I load my textures in a TextureManager class that is owned by the Renderer I attach to the GLSurfaceView.
In the onSurfaceCreated method of the Renderer class I load my textures and in my main Activity I create objects that require textures.
Now the creation of these objects in the main Activity seems to happen before onSurfaceCreated is called.
Is there an easy way to wait for my surface to be created? Or maybe a simpler/better design that avoids this problem all together?
Thanks a lot!
Maarten

