mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
meta: Use _mesa_CreateTextures instead of _mesa_GenTextures
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
This commit is contained in:
parent
173e3045a9
commit
e0ad314568
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue