android - Keeping a reference to gl in GLSurfaceView::onSurfaceCreated? -


is safe keep reference gl10 gl parameter when glsurfaceview::onsurfacecreated called?

i'd initialize textures @ point later onsurfacecreated don't know now, wondered if keeping reference ok.

i think bad idea. can bind textures in glsurfaceview.renderer::ondrawframe.


Comments

Popular posts from this blog

c++ - error: use of deleted function -

delphi - ESC/P programming! -

c# - how to write client side events functions for the combobox items -