Browse Source

added _mesa_TexImage3DEXT()

tags/mesa_3_3
Brian Paul 25 years ago
parent
commit
663049a719
2 changed files with 22 additions and 4 deletions
  1. 13
    2
      src/mesa/main/teximage.c
  2. 9
    2
      src/mesa/main/teximage.h

+ 13
- 2
src/mesa/main/teximage.c View 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,

+ 9
- 2
src/mesa/main/teximage.h View 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"),
@@ -65,6 +65,13 @@ _mesa_TexImage3D( GLenum target, GLint level, GLint internalformat,
GLenum format, GLenum type, const GLvoid *pixels );


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 );

Loading…
Cancel
Save