diff options
author | Ton Roosendaal <ton@blender.org> | 2010-02-13 16:09:30 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2010-02-13 16:09:30 +0300 |
commit | b673f7318c9733f009acfae1b640ca14eec79047 (patch) | |
tree | 15c34a90d192b91a3f52b562fdbed0abd413e12b /source/blender/gpu/intern/gpu_codegen.c | |
parent | c1ee920db648af27a7912c997b270d2ed2fdf293 (diff) |
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.
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |