diff options
author | Brian Paul <[email protected]> | 2003-04-04 17:17:50 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-04-04 17:17:50 +0000 |
commit | 738318bb75dea8dac4465f53850987f6062a732d (patch) | |
tree | 870a4e1bb830bd65e3cb829c1eb1ee4d97cbeecb /src/mesa/main/texstore.h | |
parent | b0e90cc839c6b7fcd3bd76759862eb3bc423e50a (diff) |
Rework gl[Copy]Tex[Sub]Image() error checking so that all level, width, height
and depth checks are done via ctx->Driver.TestProxyTexImage(). This allows
more flexiblity, like supporting larger, non-cubic 3D textures.
Diffstat (limited to 'src/mesa/main/texstore.h')
-rw-r--r-- | src/mesa/main/texstore.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mesa/main/texstore.h b/src/mesa/main/texstore.h index 8d1e149102b..6d3a4397b2d 100644 --- a/src/mesa/main/texstore.h +++ b/src/mesa/main/texstore.h @@ -1,10 +1,8 @@ -/* $Id: texstore.h,v 1.11 2002/09/27 02:45:38 brianp Exp $ */ - /* * Mesa 3-D graphics library - * Version: 4.1 + * Version: 5.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 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"), @@ -165,12 +163,6 @@ _mesa_store_compressed_texsubimage3d(GLcontext *ctx, GLenum target, struct gl_texture_image *texImage); -extern GLboolean -_mesa_test_proxy_teximage(GLcontext *ctx, GLenum target, GLint level, - GLint internalFormat, GLenum format, GLenum type, - GLint width, GLint height, GLint depth, GLint border); - - extern void _mesa_generate_mipmap(GLcontext *ctx, GLenum target, const struct gl_texture_unit *texUnit, |