From: Brian Paul Date: Mon, 18 Aug 2003 19:45:42 +0000 (+0000) Subject: minor code improvement in glGenTextures X-Git-Tag: 062012170305~25676 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a033fa13514e3b78612ba1678182c9ea8290cd4;p=profile%2Fivi%2Fmesa.git minor code improvement in glGenTextures --- diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 509523a..ff0a053 100644 --- a/src/mesa/main/texobj.c +++ b/src/mesa/main/texobj.c @@ -46,8 +46,8 @@ /*@{*/ /** - * Allocate and initialize a new texture object and add it to the linked list of - * texture objects. + * Allocate and initialize a new texture object. But don't put it into the + * texture object hash table. * * Called via ctx->Driver.NewTextureObject, unless overridden by a device * driver. @@ -616,11 +616,6 @@ _mesa_GenTextures( GLsizei n, GLuint *texName ) first = _mesa_HashFindFreeKeyBlock(ctx->Shared->TexObjects, n); - /* Return the texture names */ - for (i=0;i