diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-04-05 03:45:23 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-04-06 08:18:12 +0300 |
commit | c2f5cd8f6454bf8256a39a5fc9cb075311e25c58 (patch) | |
tree | c0c9f803f810c2be81c9b302d814ac4989a559ed /source/blender/gpu/intern/gpu_batch.c | |
parent | 957b408458140d1cfc72395d62189918bac5b5c7 (diff) |
Gawain: add VertexBuffer prefix to functions
See intern/gawain for the API change. Other files are updated to use the new names.
Diffstat (limited to 'source/blender/gpu/intern/gpu_batch.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_batch.c | 4 |
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 */ |