Hi,

In EXT_texture_rg.txt it is mentioned of GL_RED_EXT on gles 2.0.

In  glformats.c::_mesa_es_error_check_format_and_type returns
GL_INVALID_VALUE if  GL_RED_EXT(as it reaches default case)
so glTexImage2D(..., GL_RED_EXT, GL_UNSIGNED_BYTE, data) fails.

Though GL_EXTENSIONS contains GL_EXT_texture_rg.

So it seems that GL_RED_EXT is actually only possible with gles >= 3.0.

What am I missing ?

Thx in advance for any clarification.
Julien
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to