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:
authorDalai Felinto <dfelinto@gmail.com>2018-09-20 17:47:10 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-09-20 17:59:55 +0300
commitcffae363813e92148a27604a69b7576ba6962962 (patch)
treeb6044b493f3545e641ca1a81ab4a417bf723ecc1 /source/blender/gpu/intern/gpu_material.c
parent9a91e67825200986bb0fc3f10380a1112b2c75ef (diff)
Fix build for MSVC: Remove trailing double semicolon
Not sure why but MSVC is complaining for some of those. In particular for the struct in BKE_subdiv_ccg.h. Those were the ones crashing here..
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 a7eb533d9ef..d5aa7177e11 100644
--- a/source/blender/gpu/intern/gpu_material.c
+++ b/source/blender/gpu/intern/gpu_material.c
@@ -654,7 +654,7 @@ GPUMaterial *GPU_material_from_nodetree(
BLI_assert(GPU_material_from_nodetree_find(gpumaterials, engine_type, options) == NULL);
/* allocate material */
- GPUMaterial *mat = MEM_callocN(sizeof(GPUMaterial), "GPUMaterial");;
+ GPUMaterial *mat = MEM_callocN(sizeof(GPUMaterial), "GPUMaterial");
mat->scene = scene;
mat->engine_type = engine_type;
mat->options = options;