diff options
author | Laura Ekstrand <laura@jlekstrand.net> | 2014-11-10 12:23:41 -0800 |
---|---|---|
committer | Laura Ekstrand <laura@jlekstrand.net> | 2014-11-10 12:23:41 -0800 |
commit | c4b665ab357045e343d73792536909554e5af0c7 (patch) | |
tree | 1151c6e33343a7fa88235eec3bdbacc57d8c213d | |
parent | 8ab00fc40413d126bd3c6835abd08ed745849c7b (diff) |
src/mesa/drivers/common/meta.c: Added target initialization for init_temp_texture.
-rw-r--r-- | src/mesa/drivers/common/meta.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index ff9421b8fd..750a56a152 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/mesa/drivers/common/meta.c @@ -1253,6 +1253,7 @@ init_temp_texture(struct gl_context *ctx, struct temp_texture *tex) _mesa_GenTextures(1, &tex->Texture); tex->TexObj = _mesa_lookup_texture(ctx, tex->Texture); + tex->TexObj->Target = tex->Target; } static void |