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# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -