diff options
author | Luc Verhaegen <libv@skynet.be> | 2010-03-13 04:39:20 +0100 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2010-03-13 04:39:20 +0100 |
commit | 79987d707852221863ca6218d59046c9ad3d9c3e (patch) | |
tree | 7418c049ae29397194a6263542242ad2aa1c0eb0 /mesa/main/teximage.h | |
parent | 668c56722676bd9ec5e7592aa07f1b8026ef963c (diff) |
DRI SDK headers from mesa 7.1.0.
Diffstat (limited to 'mesa/main/teximage.h')
-rw-r--r-- | mesa/main/teximage.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/mesa/main/teximage.h b/mesa/main/teximage.h index 68457f4..f2cad7e 100644 --- a/mesa/main/teximage.h +++ b/mesa/main/teximage.h @@ -107,18 +107,19 @@ _mesa_test_proxy_teximage(GLcontext *ctx, GLenum target, GLint level, GLint width, GLint height, GLint depth, GLint border); -/* Lock a texture for updating. See also _mesa_lock_context_textures(). +/** + * Lock a texture for updating. See also _mesa_lock_context_textures(). */ -static INLINE void _mesa_lock_texture(GLcontext *ctx, - struct gl_texture_object *texObj) +static INLINE void +_mesa_lock_texture(GLcontext *ctx, struct gl_texture_object *texObj) { _glthread_LOCK_MUTEX(ctx->Shared->TexMutex); ctx->Shared->TextureStateStamp++; (void) texObj; } -static INLINE void _mesa_unlock_texture(GLcontext *ctx, - struct gl_texture_object *texObj) +static INLINE void +_mesa_unlock_texture(GLcontext *ctx, struct gl_texture_object *texObj) { _glthread_UNLOCK_MUTEX(ctx->Shared->TexMutex); } |