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:
authorMike Erwin <significant.bit@gmail.com>2017-04-05 03:45:23 +0300
committerMike Erwin <significant.bit@gmail.com>2017-04-06 08:18:12 +0300
commitc2f5cd8f6454bf8256a39a5fc9cb075311e25c58 (patch)
treec0c9f803f810c2be81c9b302d814ac4989a559ed /source/blender/gpu/intern/gpu_framebuffer.c
parent957b408458140d1cfc72395d62189918bac5b5c7 (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_framebuffer.c')
-rw-r--r--source/blender/gpu/intern/gpu_framebuffer.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_framebuffer.c b/source/blender/gpu/intern/gpu_framebuffer.c
index c6a98d01c02..afc04ac8626 100644
--- a/source/blender/gpu/intern/gpu_framebuffer.c
+++ b/source/blender/gpu/intern/gpu_framebuffer.c
@@ -398,10 +398,12 @@ void GPU_framebuffer_blur(
VertexBuffer_allocate_data(&vbo, 36);
for (int j = 0; j < 3; ++j) {
- setAttrib(&vbo, uvs, i, fullscreenuvs[j]); setAttrib(&vbo, pos, i++, fullscreencos[j]);
+ VertexBuffer_set_attrib(&vbo, uvs, i, fullscreenuvs[j]);
+ VertexBuffer_set_attrib(&vbo, pos, i++, fullscreencos[j]);
}
for (int j = 1; j < 4; ++j) {
- setAttrib(&vbo, uvs, i, fullscreenuvs[j]); setAttrib(&vbo, pos, i++, fullscreencos[j]);
+ VertexBuffer_set_attrib(&vbo, uvs, i, fullscreenuvs[j]);
+ VertexBuffer_set_attrib(&vbo, pos, i++, fullscreencos[j]);
}
Batch_init(&batch, GL_TRIANGLES, &vbo, NULL);