mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 02:10:12 +01:00
meta: Consistenly use non-Apple VAO functions
For these objects, meta was already using the non-Apple function to
delete the objects. Everywhere else in the file uses
_mesa_GenVertexArrays and _mesa_BindVertexArrays.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Cc: "9.1 9.2 10.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit abfa65ca81)
This commit is contained in:
parent
89c6473ff0
commit
b74da80b71
1 changed files with 4 additions and 4 deletions
|
|
@ -2972,8 +2972,8 @@ _mesa_meta_Bitmap(struct gl_context *ctx,
|
|||
/* one-time setup */
|
||||
|
||||
/* create vertex array object */
|
||||
_mesa_GenVertexArraysAPPLE(1, &bitmap->ArrayObj);
|
||||
_mesa_BindVertexArrayAPPLE(bitmap->ArrayObj);
|
||||
_mesa_GenVertexArrays(1, &bitmap->ArrayObj);
|
||||
_mesa_BindVertexArray(bitmap->ArrayObj);
|
||||
|
||||
/* create vertex array buffer */
|
||||
_mesa_GenBuffers(1, &bitmap->VBO);
|
||||
|
|
@ -3338,8 +3338,8 @@ setup_ff_generate_mipmap(struct gl_context *ctx,
|
|||
if (mipmap->ArrayObj == 0) {
|
||||
/* one-time setup */
|
||||
/* create vertex array object */
|
||||
_mesa_GenVertexArraysAPPLE(1, &mipmap->ArrayObj);
|
||||
_mesa_BindVertexArrayAPPLE(mipmap->ArrayObj);
|
||||
_mesa_GenVertexArrays(1, &mipmap->ArrayObj);
|
||||
_mesa_BindVertexArray(mipmap->ArrayObj);
|
||||
|
||||
/* create vertex array buffer */
|
||||
_mesa_GenBuffers(1, &mipmap->VBO);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue