projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
173e304
)
meta: Use _mesa_CreateTextures instead of _mesa_GenTextures
author
Ian Romanick
<ian.d.romanick@intel.com>
Wed, 20 Jan 2016 00:38:20 +0000
(16:38 -0800)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/common/meta.c
b/src/mesa/drivers/common/meta.c
index be490d565bd0510f7176dfd0c168c292c64102b8..5bad17d76bf4d6b05298446e8888c8df49efc6eb 100644
(file)
--- 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)