[Mesa-dev] question on GL_RED and gles

Pekka Paalanen ppaalanen at gmail.com
Tue Dec 1 04:23:51 PST 2015


On Wed, 25 Nov 2015 15:24:07 +0000
Julien Isorce <julien.isorce at gmail.com> wrote:

> 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 ?

Hi,

maybe it's a similar issue as
https://bugs.freedesktop.org/show_bug.cgi?id=92265
perhaps?


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151201/8ae16fc4/attachment-0001.sig>


More information about the mesa-dev mailing list