[Mesa-dev] [PATCH] meta: do fallback when texture is enabled for DrawPixels

Eric Anholt eric at anholt.net
Mon May 7 11:05:58 PDT 2012


On Sat, 5 May 2012 09:39:31 +0800, Liu Aleaxander <aleaxander at gmail.com> wrote:
> On Sat, May 5, 2012 at 2:56 AM, Eric Anholt <eric at anholt.net> wrote:
> > So
> > you can't rely on it being correct here -- you'd need to
> > _mesa_update_state(ctx) first.  I think it should go at the very top of
> > the function, due to the _ImageTransferState check also relying on that.
> 
> But we already did _mesa_update_state at _mesa_DrawPixels() --->
> _mesa_valid_to_render(). Thus I guess we don't need do that again, right?

Ah, I hadn't found that _mesa_update_state().  Looks good to me, then.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120507/f53c0ec2/attachment.pgp>


More information about the mesa-dev mailing list