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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -