summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-11-11 20:23:47 +0000
committerBrian Paul <[email protected]>2000-11-11 20:23:47 +0000
commit7351049dbadcfd1c8dbc04090225d9c38de01a0f (patch)
tree8d4d2716a59d8344dc3b48361bb45a4a7e076732 /src/mesa/main/texobj.c
parente7f55e76db47eb1f198d3f86980fdd066f01542f (diff)
init WrapR to GL_REPEAT mode
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 21f37e49bc7..18f942fa8e2 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -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;