From fa5a6df66cfe9b19014ea9d2fca35b762f457041 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 19 Oct 2014 11:17:56 +0200 Subject: mesa git update 19 oct 2014 mesa commit 6212d2402df4ad0658cbb98ce889e35ef5f32fa3 --- mesalib/src/mesa/main/teximage.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mesalib/src/mesa/main/teximage.c') diff --git a/mesalib/src/mesa/main/teximage.c b/mesalib/src/mesa/main/teximage.c index c0298af8e..4f4bb11dd 100644 --- a/mesalib/src/mesa/main/teximage.c +++ b/mesalib/src/mesa/main/teximage.c @@ -4652,6 +4652,12 @@ texbufferrange(struct gl_context *ctx, GLenum target, GLenum internalFormat, texObj->BufferSize = size; } _mesa_unlock_texture(ctx, texObj); + + ctx->NewDriverState |= ctx->DriverFlags.NewTextureBuffer; + + if (bufObj) { + bufObj->UsageHistory |= USAGE_TEXTURE_BUFFER; + } } -- cgit v1.2.3