In gl_texture_image replace IntFormat with InternalFormat and Format with
[mesa.git] / src / mesa / main / texrender.c
index ae4a2a5527bbe507e7969be17d8f52356236e261..9c21e03515aeebc0bf5a8bc988cf8979ceb12553 100644 (file)
@@ -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 */