diff options
author | marha <marha@users.sourceforge.net> | 2011-08-05 08:12:52 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-08-05 08:12:52 +0200 |
commit | d105412503ea250e07d3cb008f10f60e6e48bf8a (patch) | |
tree | 8601f1f1f77b22249cbfdecb20b52aa8bc69bd5a /mesalib/src/mesa/main/texobj.c | |
parent | 9b009a8bdb31d08e3d07f68416373b9aa6f85724 (diff) | |
download | vcxsrv-d105412503ea250e07d3cb008f10f60e6e48bf8a.tar.gz vcxsrv-d105412503ea250e07d3cb008f10f60e6e48bf8a.tar.bz2 vcxsrv-d105412503ea250e07d3cb008f10f60e6e48bf8a.zip |
mesa pixman git update 5 aug 2011
Diffstat (limited to 'mesalib/src/mesa/main/texobj.c')
-rw-r--r-- | mesalib/src/mesa/main/texobj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesalib/src/mesa/main/texobj.c b/mesalib/src/mesa/main/texobj.c index 3021716a0..078a43ab1 100644 --- a/mesalib/src/mesa/main/texobj.c +++ b/mesalib/src/mesa/main/texobj.c @@ -842,7 +842,7 @@ _mesa_GenTextures( GLsizei n, GLuint *textures ) struct gl_texture_object *texObj; GLuint name = first + i; GLenum target = 0; - texObj = (*ctx->Driver.NewTextureObject)( ctx, name, target); + texObj = ctx->Driver.NewTextureObject(ctx, name, target); if (!texObj) { _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); _mesa_error(ctx, GL_OUT_OF_MEMORY, "glGenTextures"); @@ -1066,7 +1066,7 @@ _mesa_BindTexture( GLenum target, GLuint texName ) } else { /* if this is a new texture id, allocate a texture object now */ - newTexObj = (*ctx->Driver.NewTextureObject)(ctx, texName, target); + newTexObj = ctx->Driver.NewTextureObject(ctx, texName, target); if (!newTexObj) { _mesa_error(ctx, GL_OUT_OF_MEMORY, "glBindTexture"); return; @@ -1108,7 +1108,7 @@ _mesa_BindTexture( GLenum target, GLuint texName ) /* Pass BindTexture call to device driver */ if (ctx->Driver.BindTexture) - (*ctx->Driver.BindTexture)( ctx, target, newTexObj ); + ctx->Driver.BindTexture(ctx, target, newTexObj); } |