added GL_PROXY_TEXTURE_RECTANGLE_NV to is_proxy_target()
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 1 Apr 2003 22:23:11 +0000 (22:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 1 Apr 2003 22:23:11 +0000 (22:23 +0000)
src/mesa/main/teximage.c

index cef81cb670d3c3bf31026972ab22a3a394f122af..11247b50028aa5046069a31820b498d9f6b0d83b 100644 (file)
@@ -1,5 +1,3 @@
-/* $Id: teximage.c,v 1.127 2003/04/01 16:41:53 brianp Exp $ */
-
 /*
  * Mesa 3-D graphics library
  * Version:  5.1
@@ -453,7 +451,8 @@ is_proxy_target(GLenum target)
    return (target == GL_PROXY_TEXTURE_1D ||
            target == GL_PROXY_TEXTURE_2D ||
            target == GL_PROXY_TEXTURE_3D ||
-           target == GL_PROXY_TEXTURE_CUBE_MAP_ARB);
+           target == GL_PROXY_TEXTURE_CUBE_MAP_ARB ||
+           target == GL_PROXY_TEXTURE_RECTANGLE_NV);
 }