diff options
author | Brian Paul <[email protected]> | 2000-05-18 18:11:35 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-05-18 18:11:35 +0000 |
commit | 0c74657fe0bd8dc126062056d53a84dfee44076d (patch) | |
tree | 17292e96e904e2bfcfda841f74cbd69d68c4c74c | |
parent | 0914fbaec1202bcd09ce5d8aeb7a30186a1b40f9 (diff) |
replaced components with internalFormat
-rw-r--r-- | src/mesa/main/dlist.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 6234273cee2..317a7b92839 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -1,4 +1,4 @@ -/* $Id: dlist.c,v 1.37 2000/04/07 16:45:26 brianp Exp $ */ +/* $Id: dlist.c,v 1.38 2000/05/18 18:11:35 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -2851,7 +2851,7 @@ static void save_TexImage2D( GLenum target, static void save_TexImage3D( GLenum target, - GLint level, GLint components, + GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, @@ -2860,7 +2860,7 @@ static void save_TexImage3D( GLenum target, GET_CURRENT_CONTEXT(ctx); if (target == GL_PROXY_TEXTURE_3D) { /* don't compile, execute immediately */ - (*ctx->Exec->TexImage3D)( target, level, components, width, + (*ctx->Exec->TexImage3D)( target, level, internalFormat, width, height, depth, border, format, type, pixels ); } else { @@ -2872,7 +2872,7 @@ static void save_TexImage3D( GLenum target, if (n) { n[1].e = target; n[2].i = level; - n[3].i = components; + n[3].i = internalFormat; n[4].i = (GLint) width; n[5].i = (GLint) height; n[6].i = (GLint) depth; @@ -2885,7 +2885,7 @@ static void save_TexImage3D( GLenum target, FREE(image); } if (ctx->ExecuteFlag) { - (*ctx->Exec->TexImage3D)( target, level, components, width, + (*ctx->Exec->TexImage3D)( target, level, internalFormat, width, height, depth, border, format, type, pixels ); } } |