diff options
author | Brian Paul <[email protected]> | 2000-01-31 23:10:16 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-01-31 23:10:16 +0000 |
commit | 663049a719ed76aa0a6f24f1951a411d241bc8a4 (patch) | |
tree | 2d01f4a995e0362c8195fa44e03025d20dc9d909 /src/mesa/main | |
parent | 2b1c416e213173bbc8db6ff5daf493f331f9ffbe (diff) |
added _mesa_TexImage3DEXT()
Diffstat (limited to 'src/mesa/main')
-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 2db59c0d7fa..3e5d3f09c7d 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 98ab512262a..bd6202875ad 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 ); |