Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-09-19 20:34:00 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-09-19 21:02:12 +0300
commit960ab2ab580b58bd12cedd0052773f7bbed4b62f (patch)
tree48950510b1531328817e7dc7e722ef185c3eeb05 /source/blender/gpu/intern/gpu_material.c
parent9cd47884032b7485aed3df6e5f3730929be89c65 (diff)
Cleanup: Remove "_new" from GPU_generate_pass_new
Not needed anymore since old one has been deleted.
Diffstat (limited to 'source/blender/gpu/intern/gpu_material.c')
-rw-r--r--source/blender/gpu/intern/gpu_material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_material.c b/source/blender/gpu/intern/gpu_material.c
index 0d37dff3f9e..a7eb533d9ef 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -683,7 +683,7 @@ GPUMaterial *GPU_material_from_nodetree(
GPU_nodes_prune(&mat->nodes, mat->outlink);
GPU_nodes_get_vertex_attributes(&mat->nodes, &mat->attribs);
/* Create source code and search pass cache for an already compiled version. */
- mat->pass = GPU_generate_pass_new(
+ mat->pass = GPU_generate_pass(
mat,
mat->outlink,
&mat->attribs,