only ignore diagnostics with clang
load glDiscardFramebufferEXT with a library function if needed
make sure to use OpenGL ES 2.0 when compiling for nvidia chips