diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/teximage.c | 15 | ||||
-rw-r--r-- | src/mesa/main/teximage.h | 11 |
2 files changed, 22 insertions, 4 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 2db59c0d7f..3e5d3f09c7 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -1,10 +1,10 @@ -/* $Id: teximage.c,v 1.14 1999/11/25 17:36:48 brianp Exp $ */ +/* $Id: teximage.c,v 1.15 2000/01/31 23:10:16 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -1247,6 +1247,17 @@ _mesa_TexImage3D( GLenum target, GLint level, GLint internalformat, } +void +_mesa_TexImage3DEXT( GLenum target, GLint level, GLenum internalformat, + GLsizei width, GLsizei height, GLsizei depth, + GLint border, GLenum format, GLenum type, + const GLvoid *pixels ) +{ + _mesa_TexImage3D(target, level, (GLint) internalformat, width, height, + depth, border, format, type, pixels); +} + + void _mesa_GetTexImage( GLenum target, GLint level, GLenum format, diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 98ab512262..bd6202875a 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -1,10 +1,10 @@ -/* $Id: teximage.h,v 1.3 1999/11/11 01:22:28 brianp Exp $ */ +/* $Id: teximage.h,v 1.4 2000/01/31 23:10:16 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 3.3 * - * Copyright (C) 1999 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2000 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -66,6 +66,13 @@ _mesa_TexImage3D( GLenum target, GLint level, GLint internalformat, extern void +_mesa_TexImage3DEXT( GLenum target, GLint level, GLenum internalformat, + GLsizei width, GLsizei height, GLsizei depth, + GLint border, GLenum format, GLenum type, + const GLvoid *pixels ); + + +extern void _mesa_GetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels ); |