Hi Erik, On Fri, 23 Nov 2018 at 10:54, Erik Faye-Lund <[email protected]> wrote: > > This makes the logic a little bit easier to follow; this is *either* > about ES2 compatibility *or* about gles. GL_RGB565 was added already in > OpenGL ES 1.0. > AFAICT GL_RGB565 was introduced in OpenGLES1 with GL_OES_framebuffer_object.
Every driver supports that extension, so _mesa_has_OES_framebuffer_object is an overkill. Esp. since src/mesa/main/fbobject.c doesn't do it - although it that one could use _mesa_has_ARB_ES2_compatibility(). fbobject.c could be tweaked another day. -Emil _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
