summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-02-12 17:26:15 +0000
committerBrian Paul <[email protected]>2000-02-12 17:26:15 +0000
commit3ab6bbe6135da26dfe9a9ba880386fdc98f6580a (patch)
tree6b7a557c08a8f52ef7c9484e17a2d6cb3099d1c1 /src/mesa/main/teximage.c
parentef5d084d3c86beb132ddf9829d28ea78cb9f0197 (diff)
now using dynamically allocated api dispatch tables
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c6
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);
}