Re: [Mesa-dev] [PATCH] mesa: ES2 glReadPixels support for OES float extensions.

2018-12-12 Thread Tapani Pälli
On 12/12/18 7:10 AM, Nick Kreeger wrote: The OES extensions for float/half-float allow glReadPixels to read GL_RGBA values as GL_FLOAT for both floats and half-floats. This patch ensures that ES2 context versions allows this if at least one of the extensions is present. Reading the extension s

[Mesa-dev] [PATCH] mesa: ES2 glReadPixels support for OES float extensions.

2018-12-11 Thread Nick Kreeger
The OES extensions for float/half-float allow glReadPixels to read GL_RGBA values as GL_FLOAT for both floats and half-floats. This patch ensures that ES2 context versions allows this if at least one of the extensions is present. --- src/mesa/main/readpix.c | 3 ++- 1 file changed, 2 insertions(+)