[Mesa-dev] [PATCH] add support for GL_RGBA + GL_UNSIGNED_INT_8_8_8_8 in st_fast_readpixels

Pierre-Eric pelloux at gmail.com
Wed Apr 13 04:29:00 PDT 2011


As Lightsmark seems to make use of glReadPixels with {GL_RGBA +
GL_UNSIGNED_INT_8_8_8_8} parameters,
I built a short patch to allow 'st_fast_readpixels' to handle this combination.

It's been tested using piglit's pixelFormat test + a custom app.

Best regards,
--Pierre-Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-add-support-for-GL_RGBA-GL_UNSIGNED_INT_8_8_8_8-in-s.patch
Type: text/x-patch
Size: 2132 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110413/cc5a2520/attachment.bin>


More information about the mesa-dev mailing list