Default renderer displays 16-bit instead of 24-bit

Hi all,

this might be a duplicate, but i couldn’t find any info on this on the forum. I was getting some weird results doing a color gradient with OF on android. I added this bit in the OFGLSurfaceView class in OFAndroid.java, it’s working fine now:

  
  
@Override  
public void surfaceCreated(SurfaceHolder holder) {  
	this.getHolder().setFormat(1);  
	super.surfaceCreated(holder);  
}  
  

More info: https://forum.processing.org/topic/default-android2d-renderer-displays-16-bit-instead-of-24-bit-bug

cheers,
carlos

Thanks for bringing this up. You should maybe put this in a note on github github.com/openframeworks/openFrameworks so that more people see it.