diff options
author | Ian Romanick <[email protected]> | 2015-11-02 18:36:34 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-11-24 11:31:29 -0800 |
commit | 7f2f3000716d994d94c53f4a0c8a211fb00a46a4 (patch) | |
tree | 73fd9f487483b578be374247712c8baad8ded040 /src/mesa/drivers/common/meta_blit.c | |
parent | 89a61afdd7346d6e36caccc4d6f2a2607dc4a1f6 (diff) |
meta: Use _mesa_NamedBufferData and _mesa_NamedBufferSubData for users of _mesa_meta_setup_vertex_objects
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta_blit.c')
-rw-r--r-- | src/mesa/drivers/common/meta_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c index 4a2444af0f9..da9f603440e 100644 --- a/src/mesa/drivers/common/meta_blit.c +++ b/src/mesa/drivers/common/meta_blit.c @@ -789,7 +789,7 @@ blitframebuffer_texture(struct gl_context *ctx, verts[3].tex[1] = t1; verts[3].tex[2] = readAtt->Zoffset; - _mesa_BufferSubData(GL_ARRAY_BUFFER_ARB, 0, sizeof(verts), verts); + _mesa_NamedBufferSubData(blit->VBO, 0, sizeof(verts), verts); } /* setup viewport */ |