aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-05-09 09:35:45 +0000
committermarha <marha@users.sourceforge.net>2011-05-09 09:35:45 +0000
commit43b2398ee28e9144fd51eb9994d67c4c9a198c9c (patch)
treeaf05c516b61241b6444059697ce94eee092ba8ff /mesalib/src/mesa/main/texobj.c
parent151019725213fc50a8aa4db8c4524387fea8f476 (diff)
downloadvcxsrv-43b2398ee28e9144fd51eb9994d67c4c9a198c9c.tar.gz
vcxsrv-43b2398ee28e9144fd51eb9994d67c4c9a198c9c.tar.bz2
vcxsrv-43b2398ee28e9144fd51eb9994d67c4c9a198c9c.zip
libXext libX11 mkfontscale mesa git update 9 May 2011
Diffstat (limited to 'mesalib/src/mesa/main/texobj.c')
-rw-r--r--mesalib/src/mesa/main/texobj.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/texobj.c b/mesalib/src/mesa/main/texobj.c
index 43d6e52df..f2d214f93 100644
--- a/mesalib/src/mesa/main/texobj.c
+++ b/mesalib/src/mesa/main/texobj.c
@@ -141,6 +141,7 @@ _mesa_initialize_texture_object( struct gl_texture_object *obj,
obj->Sampler.CompareFunc = GL_LEQUAL; /* ARB_shadow */
obj->Sampler.CompareFailValue = 0.0F; /* ARB_shadow_ambient */
obj->Sampler.DepthMode = GL_LUMINANCE; /* ARB_depth_texture */
+ obj->Sampler.CubeMapSeamless = GL_FALSE;
obj->Swizzle[0] = GL_RED;
obj->Swizzle[1] = GL_GREEN;
obj->Swizzle[2] = GL_BLUE;
@@ -251,6 +252,7 @@ _mesa_copy_texture_object( struct gl_texture_object *dest,
dest->Sampler.CompareMode = src->Sampler.CompareMode;
dest->Sampler.CompareFunc = src->Sampler.CompareFunc;
dest->Sampler.CompareFailValue = src->Sampler.CompareFailValue;
+ dest->Sampler.CubeMapSeamless = src->Sampler.CubeMapSeamless;
dest->Sampler.DepthMode = src->Sampler.DepthMode;
dest->_MaxLevel = src->_MaxLevel;
dest->_MaxLambda = src->_MaxLambda;