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:
Diffstat (limited to 'source/blender/gpu/intern/gpu_batch.c')
-rw-r--r--source/blender/gpu/intern/gpu_batch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_batch.c b/source/blender/gpu/intern/gpu_batch.c
index 65a827febde..0e4b71ab9b8 100644
--- a/source/blender/gpu/intern/gpu_batch.c
+++ b/source/blender/gpu/intern/gpu_batch.c
@@ -55,8 +55,8 @@ static void batch_sphere_lat_lon_vert(float lat, float lon)
pos[1] = cosf(lat);
pos[2] = sinf(lat) * sinf(lon);
- setAttrib(vbo, nor_id, vert, pos);
- setAttrib(vbo, pos_id, vert++, pos);
+ VertexBuffer_set_attrib(vbo, nor_id, vert, pos);
+ VertexBuffer_set_attrib(vbo, pos_id, vert++, pos);
}
/* Replacement for gluSphere */