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_extensions.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_extensions.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 8d0bd819deb..3ca55c12ce2 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -471,7 +471,7 @@ GPUTexture *GPU_texture_from_blender(Image *ima, ImageUser *iuser, double time, glGetIntegerv(GL_TEXTURE_BINDING_2D, &lastbindcode); GPU_update_image_time(ima, time); - bindcode = GPU_verify_image(ima, 0, 0, 0, mipmap); + bindcode = GPU_verify_image(ima, iuser, 0, 0, 0, mipmap); if(ima->gputexture) { ima->gputexture->bindcode = bindcode; |