diff options
author | Ian Romanick <[email protected]> | 2015-11-02 18:36:34 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-11-24 11:36:05 -0800 |
commit | e097324fee3d3cf12a752d6c27c8a093ef0f3a88 (patch) | |
tree | 8213fe345d1d56f5b70cb37d871cd85e0f7fd50a /src/mesa/drivers/common/meta_blit.c | |
parent | aa607c69af724a75763a14258a6ce2ec5c770171 (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]>
(cherry picked from commit 7f2f3000716d994d94c53f4a0c8a211fb00a46a4)
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 */ |