@Override
    public void glDrawBuffer(int mode) {
        ((Buffer)tmpBuff).clear();
        tmpBuff.put(0, mode);
        tmpBuff.rewind();
        glDrawBuffers(tmpBuff);
    }
Implements OpenGL ES 2.0 and 3.0 for iOS. 

@author Kirill Vainer, Jesus Oliver
jme3-ios/src/main/java/com/jme3/renderer/ios/IosGL.java