From b673f7318c9733f009acfae1b640ca14eec79047 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 13 Feb 2010 13:09:30 +0000 Subject: Added support for animated texture draw, GLSL textures. Note, this is not like GE ffmpg, but Blender Image Texture display for GLSL materials. Speed can be disappointing, use smaller images for realtime edits. --- source/blender/gpu/intern/gpu_codegen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/gpu/intern/gpu_codegen.c') diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 168c6645910..efaae5c2720 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -997,6 +997,7 @@ static void gpu_node_input_link(GPUNode *node, GPUNodeLink *link, int type) input->source = GPU_SOURCE_TEX; input->ima = link->ptr1; + input->iuser = link->ptr2; input->textarget = GL_TEXTURE_2D; input->textype = GPU_TEX2D; MEM_freeN(link); -- cgit v1.2.3