summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-01-19 16:38:20 -0800
committerIan Romanick <[email protected]>2018-01-02 16:23:52 -0800
commite0ad314568349e24e5fe44dc6cac8b98a14213d6 (patch)
treef3e7960158907974dc98b760e24ba8bc4a5ab74f /src/mesa
parent173e3045a9a176d95be1b4d3fbf7ba0230293842 (diff)
meta: Use _mesa_CreateTextures instead of _mesa_GenTextures
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/common/meta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
index be490d565bd..5bad17d76bf 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)