diff options
author | Brian Paul <[email protected]> | 2000-02-12 17:26:15 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-12 17:26:15 +0000 |
commit | 3ab6bbe6135da26dfe9a9ba880386fdc98f6580a (patch) | |
tree | 6b7a557c08a8f52ef7c9484e17a2d6cb3099d1c1 /src/mesa/main/teximage.c | |
parent | ef5d084d3c86beb132ddf9829d28ea78cb9f0197 (diff) |
now using dynamically allocated api dispatch tables
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 3e5d3f09c7d..5a8ccfdefdb 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,4 +1,4 @@ -/* $Id: teximage.c,v 1.15 2000/01/31 23:10:16 brianp Exp $ */ +/* $Id: teximage.c,v 1.16 2000/02/12 17:26:15 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1674,7 +1674,7 @@ _mesa_CopyTexImage1D( GLenum target, GLint level, gl_error( ctx, GL_OUT_OF_MEMORY, "glCopyTexImage1D" ); return; } - (*ctx->Exec.TexImage1D)( target, level, internalFormat, width, + (*ctx->Exec->TexImage1D)( target, level, internalFormat, width, border, GL_RGBA, GL_UNSIGNED_BYTE, image ); FREE(image); } @@ -1697,7 +1697,7 @@ _mesa_CopyTexImage2D( GLenum target, GLint level, GLenum internalFormat, gl_error( ctx, GL_OUT_OF_MEMORY, "glCopyTexImage2D" ); return; } - (ctx->Exec.TexImage2D)( target, level, internalFormat, width, + (ctx->Exec->TexImage2D)( target, level, internalFormat, width, height, border, GL_RGBA, GL_UNSIGNED_BYTE, image ); FREE(image); } |