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
Post a Comment