[Mesa-dev] [PATCH] mesa: Fix copy-and-paste error in _mesa_pack_rgba_span_float

Kenneth Graunke kenneth at whitecape.org
Thu Feb 2 01:59:34 PST 2012


On 02/01/2012 09:50 PM, Ian Romanick wrote:
> From: Ian Romanick<ian.d.romanick at intel.com>
>
> GL_RG_INTEGER only has two components, not three.  I'll be surprised
> if anyone ever tries to glReadPixels(..., GL_SHORT, GL_RG_INTEGER,
> ...).  This was found by inspection.

Me too; good catch nonetheless.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list