diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 6225e5a3acc..470b99de00b 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -30,6 +30,11 @@ * ***** END GPL LICENSE BLOCK ***** */ +/** \file blender/gpu/intern/gpu_codegen.c + * \ingroup gpu + */ + + #include "GL/glew.h" #include "MEM_guardedalloc.h" @@ -978,11 +983,11 @@ static void gpu_node_input_link(GPUNode *node, GPUNodeLink *link, int type) input->textype = type; if (type == GPU_TEX1D) { - input->tex = GPU_texture_create_1D(link->texturesize, link->ptr1); + input->tex = GPU_texture_create_1D(link->texturesize, link->ptr1, NULL); input->textarget = GL_TEXTURE_1D; } else { - input->tex = GPU_texture_create_2D(link->texturesize, link->texturesize, link->ptr2); + input->tex = GPU_texture_create_2D(link->texturesize, link->texturesize, link->ptr2, NULL); input->textarget = GL_TEXTURE_2D; } |