diff options
author | Brian Paul <[email protected]> | 2005-10-05 01:48:07 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-10-05 01:48:07 +0000 |
commit | a9fc8ba756dd25a07dc19058fe60f65bda82a055 (patch) | |
tree | aa863fa82d93ea468d6c16e3db6fa74ad1ffb5cb /src/mesa/main/texrender.c | |
parent | 91802fdf730451aaa0246f514f6778ffaef92c50 (diff) |
In gl_texture_image replace IntFormat with InternalFormat and Format with
_BaseFormat to be consistant with gl_renderbuffer.
Diffstat (limited to 'src/mesa/main/texrender.c')
-rw-r--r-- | src/mesa/main/texrender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texrender.c b/src/mesa/main/texrender.c index ae4a2a5527b..9c21e03515a 100644 --- a/src/mesa/main/texrender.c +++ b/src/mesa/main/texrender.c @@ -164,7 +164,7 @@ wrap_texture(GLcontext *ctx, struct gl_renderbuffer_attachment *att) trb->Base.Width = trb->TexImage->Width; trb->Base.Height = trb->TexImage->Height; - trb->Base.InternalFormat = trb->TexImage->IntFormat; /* XXX fix? */ + trb->Base.InternalFormat = trb->TexImage->InternalFormat; /* XXX fix? */ trb->Base._BaseFormat = trb->TexImage->TexFormat->BaseFormat; #if 0 /* fix/avoid this assertion someday */ |