Does the bug appear with the sample too?
Please try to change the color buffer depth using
glutInitDisplayString(). eg. glutInitDisplayString("red=8
green=8 blue=8"), this is used to create the config given to
eglChooseConfig() to create the context.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=480929
Does the bug appear with the sample too?
Please try to change the color buffer depth using
glutInitDisplayString(). eg. glutInitDisplayString("red=8
green=8 blue=8"), this is used to create the config given to
eglChooseConfig() to create the context.
FYI, I was seeing this problem and I finally fixed it by replacing
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA);
with
glutInitDisplayString("red=8 green=8 blue=8 depth=24");
Maybe this seems obvious to others, but took forever for me to figure out. :P