Program validation verifies the shaders against current OpenGL state. So doing it in onSurfaceCreated() is not helpful, because uniforms & attributes are not set at that stage and texture is not properly initialized. Now program is validated just before the draw command is issued. |
||
|---|---|---|
| .. | ||
| roomSchema/com.gaurav.avnc.model.db.MainDb | ||
| src | ||
| .gitignore | ||
| build.gradle | ||
| CMakeLists.txt | ||
| proguard-rules.pro | ||