From 417581636faa07033f55d7dbb9274af8275107d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 22 Aug 2017 10:22:11 +0200 Subject: Eevee: Fix T52486 For that introduce an update function for textures. --- source/blender/gpu/GPU_texture.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/gpu/GPU_texture.h') diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index 83872ccdf80..fa8ed992c72 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -167,6 +167,8 @@ GPUTexture *GPU_texture_from_blender( struct Image *ima, struct ImageUser *iuser, int textarget, bool is_data, double time, int mipmap); GPUTexture *GPU_texture_from_preview(struct PreviewImage *prv, int mipmap); +void GPU_texture_update(GPUTexture *tex, const float *pixels); + void GPU_invalid_tex_init(void); void GPU_invalid_tex_bind(int mode); void GPU_invalid_tex_free(void); -- cgit v1.2.3