summaryrefslogtreecommitdiff
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-11-11 15:33:36 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-11-11 15:33:36 +0000
commit77ee31930a1b0cc7766939415f4f04ed6a1fa4ac (patch)
tree65a2b8fdc6bea5561ea7eb5c280bdce1ceef7d54 /src/mesa/main/dlist.c
parent0325bc6359833fc51444618d7b1e188fca693eba (diff)
Make _mesa_is_proxy_texture() non-static and use in a few more places.
Use COPY_4FV() where possible. Added some comments, clean-ups.
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r--src/mesa/main/dlist.c9
1 files changed, 3 insertions, 6 deletions
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 ));