mesa: Remove "APPLE" from some VAO error messages.
Chances are, people will be using the core names these days. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
@@ -480,7 +480,7 @@ _mesa_DeleteVertexArrays(GLsizei n, const GLuint *ids)
|
|||||||
GLsizei i;
|
GLsizei i;
|
||||||
|
|
||||||
if (n < 0) {
|
if (n < 0) {
|
||||||
_mesa_error(ctx, GL_INVALID_VALUE, "glDeleteVertexArrayAPPLE(n)");
|
_mesa_error(ctx, GL_INVALID_VALUE, "glDeleteVertexArray(n)");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -524,7 +524,7 @@ gen_vertex_arrays(struct gl_context *ctx, GLsizei n, GLuint *arrays)
|
|||||||
GLint i;
|
GLint i;
|
||||||
|
|
||||||
if (n < 0) {
|
if (n < 0) {
|
||||||
_mesa_error(ctx, GL_INVALID_VALUE, "glGenVertexArraysAPPLE");
|
_mesa_error(ctx, GL_INVALID_VALUE, "glGenVertexArrays");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -541,7 +541,7 @@ gen_vertex_arrays(struct gl_context *ctx, GLsizei n, GLuint *arrays)
|
|||||||
|
|
||||||
obj = (*ctx->Driver.NewArrayObject)( ctx, name );
|
obj = (*ctx->Driver.NewArrayObject)( ctx, name );
|
||||||
if (!obj) {
|
if (!obj) {
|
||||||
_mesa_error(ctx, GL_OUT_OF_MEMORY, "glGenVertexArraysAPPLE");
|
_mesa_error(ctx, GL_OUT_OF_MEMORY, "glGenVertexArrays");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
save_array_object(ctx, obj);
|
save_array_object(ctx, obj);
|
||||||
|
Reference in New Issue
Block a user