Mesa (master): meta: Use _mesa_CreateTextures instead of _mesa_GenTextures
Ian Romanick
idr at kemper.freedesktop.org
Wed Jan 3 00:24:25 UTC 2018
Module: Mesa
Branch: master
Commit: e0ad314568349e24e5fe44dc6cac8b98a14213d6
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e0ad314568349e24e5fe44dc6cac8b98a14213d6
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Tue Jan 19 16:38:20 2016 -0800
meta: Use _mesa_CreateTextures instead of _mesa_GenTextures
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
---
src/mesa/drivers/common/meta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index be490d565b..5bad17d76b 100644
--- a/src/mesa/drivers/common/meta.c
+++ b/src/mesa/drivers/common/meta.c
@@ -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)
More information about the mesa-commit
mailing list