From 77ee31930a1b0cc7766939415f4f04ed6a1fa4ac Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 11 Nov 2005 15:33:36 +0000 Subject: Make _mesa_is_proxy_texture() non-static and use in a few more places. Use COPY_4FV() where possible. Added some comments, clean-ups. --- src/mesa/main/dlist.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/mesa/main/dlist.c') diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 7bd11c31af..0ce0e095a9 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.3 + * Version: 6.5 * - * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -1323,10 +1323,7 @@ static void GLAPIENTRY save_ColorTable( GLenum target, GLenum internalFormat, const GLvoid *table ) { GET_CURRENT_CONTEXT(ctx); - if (target == GL_PROXY_TEXTURE_1D || - target == GL_PROXY_TEXTURE_2D || - target == GL_PROXY_TEXTURE_3D || - target == GL_PROXY_TEXTURE_CUBE_MAP_ARB) { + if (_mesa_is_proxy_texture(target)) { /* execute immediately */ CALL_ColorTable(ctx->Exec, ( target, internalFormat, width, format, type, table )); -- cgit v1.2.3