Commented out a line in the OglesShaderRenderer (android) that was occasionally causing a crash on android.
This line was already commented in other renderers, and I have to admit I have no clue of what it does except crashing the app
This commit is contained in:
parent
ed443bcfa2
commit
ca6d3f4e73
@ -1799,13 +1799,13 @@ public class OGLESShaderRenderer implements Renderer {
|
||||
Image[] textures = context.boundTextures;
|
||||
|
||||
int type = convertTextureType(tex.getType());
|
||||
if (!context.textureIndexList.moveToNew(unit)) {
|
||||
// if (!context.textureIndexList.moveToNew(unit)) {
|
||||
// if (context.boundTextureUnit != unit){
|
||||
// glActiveTexture(GL_TEXTURE0 + unit);
|
||||
// context.boundTextureUnit = unit;
|
||||
// }
|
||||
// glEnable(type);
|
||||
}
|
||||
// }
|
||||
|
||||
if (textures[unit] != image) {
|
||||
if (context.boundTextureUnit != unit) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user