meta: Use _mesa_CreateTextures instead of _mesa_GenTextures
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 20 Jan 2016 00:38:20 +0000 (16:38 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 3 Jan 2018 00:23:52 +0000 (16:23 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/mesa/drivers/common/meta.c

index be490d565bd0510f7176dfd0c168c292c64102b8..5bad17d76bf4d6b05298446e8888c8df49efc6eb 100644 (file)
@@ -1245,7 +1245,7 @@ init_temp_texture(struct gl_context *ctx, struct temp_texture *tex)
    tex->MinSize = 16;  /* 16 x 16 at least */
    assert(tex->MaxSize > 0);
 
-   _mesa_GenTextures(1, &texObj);
+   _mesa_CreateTextures(tex->Target, 1, &texObj);
    tex->tex_obj = NULL;
 
    if (texObj == 0)