Browse Source

init WrapR to GL_REPEAT mode

tags/mesa_3_5
Brian Paul 26 years ago
parent
commit
7351049dba
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/mesa/main/texobj.c

+ 2
- 1
src/mesa/main/texobj.c View 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;

Loading…
Cancel
Save