added _mesa_TexImage3DEXT()
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 31 Jan 2000 23:10:16 +0000 (23:10 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 31 Jan 2000 23:10:16 +0000 (23:10 +0000)
src/mesa/main/teximage.c
src/mesa/main/teximage.h

index 2db59c0..3e5d3f0 100644 (file)
@@ -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,
index 98ab512..bd62028 100644 (file)
@@ -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 );