From c5b995066020191982b2315fc45d05e068eee761 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 21 Sep 2002 16:51:25 +0000 Subject: updates from 4.0.4 (MESA_ycbcr_texture, APPLE_client_storage, etc) --- src/mesa/main/pixel.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/pixel.c') diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c index 659797e55b..8522157304 100644 --- a/src/mesa/main/pixel.c +++ b/src/mesa/main/pixel.c @@ -1,4 +1,4 @@ -/* $Id: pixel.c,v 1.34 2002/04/24 20:11:20 brianp Exp $ */ +/* $Id: pixel.c,v 1.35 2002/09/21 16:51:25 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -223,6 +223,12 @@ _mesa_PixelStorei( GLenum pname, GLint param ) FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); ctx->Unpack.Alignment = param; break; + case GL_UNPACK_CLIENT_STORAGE_APPLE: + if (param == (GLint)ctx->Unpack.ClientStorage) + return; + FLUSH_VERTICES(ctx, _NEW_PACKUNPACK); + ctx->Unpack.ClientStorage = param ? GL_TRUE : GL_FALSE; + break; default: _mesa_error( ctx, GL_INVALID_ENUM, "glPixelStore" ); return; -- cgit v1.2.3