aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common/meta_copy_image.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2015-11-13 11:06:51 -0800
committerIan Romanick <[email protected]>2016-03-01 11:07:20 -0800
commit7c254f02008159b4e042cd6c9d33a2fc8c92e1ea (patch)
treebc455b204e177d44c30cb7d61be4fbe7a7025ba5 /src/mesa/drivers/common/meta_copy_image.c
parent6b70c9ea98663fcf65b31b0a9deb83b49e3adb01 (diff)
meta: Use _mesa_CreateFramebuffers instead of _mesa_GenFramebuffers
This enables later patches that will stop calling _mesa_GenFramebuffers or _mesa_CreateFramebuffers which pollute the framebuffer namespace. For framebuffers, the Bind call is still necessary. sed -i -e 's/_mesa_GenFramebuffers/_mesa_CreateFramebuffers/' \ src/mesa/drivers/common/*.c Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta_copy_image.c')
-rw-r--r--src/mesa/drivers/common/meta_copy_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/meta_copy_image.c b/src/mesa/drivers/common/meta_copy_image.c
index 02963dc4f7d..ce7597f1637 100644
--- a/src/mesa/drivers/common/meta_copy_image.c
+++ b/src/mesa/drivers/common/meta_copy_image.c
@@ -210,7 +210,7 @@ _mesa_meta_CopyImageSubData_uncompressed(struct gl_context *ctx,
/* We really only need to stash the bound framebuffers and scissor. */
_mesa_meta_begin(ctx, MESA_META_SCISSOR);
- _mesa_GenFramebuffers(2, fbos);
+ _mesa_CreateFramebuffers(2, fbos);
_mesa_BindFramebuffer(GL_READ_FRAMEBUFFER, fbos[0]);
_mesa_BindFramebuffer(GL_DRAW_FRAMEBUFFER, fbos[1]);