diff options
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/r128/r128_tex.c')
-rw-r--r-- | xc/lib/GL/mesa/src/drv/r128/r128_tex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/lib/GL/mesa/src/drv/r128/r128_tex.c b/xc/lib/GL/mesa/src/drv/r128/r128_tex.c index 5b2b74f65..6423de7b3 100644 --- a/xc/lib/GL/mesa/src/drv/r128/r128_tex.c +++ b/xc/lib/GL/mesa/src/drv/r128/r128_tex.c @@ -48,7 +48,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. #include "enums.h" #include "texstore.h" #include "texformat.h" -#include "mem.h" +#include "imports.h" #define TEX_0 1 #define TEX_1 2 @@ -146,7 +146,7 @@ static r128TexObjPtr r128AllocTexObj( struct gl_texture_object *texObj ) r128SetTexWrap( t, texObj->WrapS, texObj->WrapT ); /*r128SetTexMaxAnisotropy( t, texObj->MaxAnisotropy );*/ r128SetTexFilter( t, texObj->MinFilter, texObj->MagFilter ); - r128SetTexBorderColor( t, texObj->BorderColor ); + r128SetTexBorderColor( t, texObj->_BorderChan ); return t; } @@ -509,7 +509,7 @@ static void r128DDTexParameter( GLcontext *ctx, GLenum target, case GL_TEXTURE_BORDER_COLOR: if ( t->bound ) FLUSH_BATCH( rmesa ); - r128SetTexBorderColor( t, tObj->BorderColor ); + r128SetTexBorderColor( t, tObj->_BorderChan ); break; case GL_TEXTURE_BASE_LEVEL: |