I have an OpenGL program running on a few Android devices, without any issues. However, when I run my app on a Kindle Fire, my call to eglSwapInterval() returns EGL_BAD_PARAMETER.
My call looks like:
eglSwapInterval( eglGetDisplay( EGL_DEFAULT_DISPLAY ), 1 );
I understand that 1 is the default value, and that values outside of the accepted min and max values will be silently clamped. This is why I’m confused as to why “1” is a bad parameter. My code allows for other values to be passed in, based on an init structure, but the error I’m debugging right now results from passing in 1.