init WrapR to GL_REPEAT mode
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 11 Nov 2000 20:23:47 +0000 (20:23 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 11 Nov 2000 20:23:47 +0000 (20:23 +0000)
src/mesa/main/texobj.c

index 21f37e4..18f942f 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: texobj.c,v 1.32 2000/11/05 18:40:58 keithw Exp $ */
+/* $Id: texobj.c,v 1.33 2000/11/11 20:23:47 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -71,6 +71,7 @@ gl_alloc_texture_object( struct gl_shared_state *shared, GLuint name,
       obj->Priority = 1.0F;
       obj->WrapS = GL_REPEAT;
       obj->WrapT = GL_REPEAT;
+      obj->WrapR = GL_REPEAT;
       obj->MinFilter = GL_NEAREST_MIPMAP_LINEAR;
       obj->MagFilter = GL_LINEAR;
       obj->MinLod = -1000.0;