Buffer writeable checking is missing in clearBuffers opt on android

glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) is NOT working when its mask is false.

src/android/com/jme3/renderer/android/OGLESShaderRenderer.java
public void clearBuffers(boolean color, boolean depth, boolean stencil) {
int bits = 0;
if (color) {

  •        if (context.colorWriteEnabled == false) {
    
  •            GLES20.glColorMask(true, true, true, true);
    
  •            context.colorWriteEnabled = true;
    
  •        }
    
  •        bits = GLES20.GL_COLOR_BUFFER_BIT;
       }
       if (depth) {
    
  •        if (context.depthWriteEnabled == false) {
    
  •            GLES20.glDepthMask(true);
    
  •            context.depthWriteEnabled = true;
    
  •        }
    
  •        bits |= GLES20.GL_DEPTH_BUFFER_BIT;
       }