summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texparam.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-31 08:08:19 -0600
committerBrian Paul <[email protected]>2009-11-02 19:38:35 -0700
commit644d8fd363ca7d8f40f4fa319919985cc002df9e (patch)
tree827d1da8c7cc0071d7470ebdbfa6c7886ccfd9fc /src/mesa/main/texparam.c
parent7157479b253b3051f1ec454a39b2aff825bab047 (diff)
mesa: added comment
Diffstat (limited to 'src/mesa/main/texparam.c')
-rw-r--r--src/mesa/main/texparam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/texparam.c b/src/mesa/main/texparam.c
index 79298e867a0..ab170cde35b 100644
--- a/src/mesa/main/texparam.c
+++ b/src/mesa/main/texparam.c
@@ -79,6 +79,8 @@ validate_texture_wrap_mode(GLcontext * ctx, GLenum target, GLenum wrap)
/**
* Get current texture object for given target.
* Return NULL if any error.
+ * Note that this is different from _mesa_select_tex_object() in that proxy
+ * targets are not accepted.
*/
static struct gl_texture_object *
get_texobj(GLcontext *ctx, GLenum target)