projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mesa: add pixel_storei() helper
[mesa.git]
/
src
/
mesa
/
main
/
bufferobj.c
diff --git
a/src/mesa/main/bufferobj.c
b/src/mesa/main/bufferobj.c
index 410aa7e4b5ab0e352e5917fec61f5207d75781d9..419972e37127137eec4f09f72debf640ed744de2 100644
(file)
--- a/
src/mesa/main/bufferobj.c
+++ b/
src/mesa/main/bufferobj.c
@@
-1478,6
+1478,14
@@
create_buffers_err(struct gl_context *ctx, GLsizei n, GLuint *buffers, bool dsa)
* \param n Number of IDs to generate.
* \param buffers Array of \c n locations to store the IDs.
*/
* \param n Number of IDs to generate.
* \param buffers Array of \c n locations to store the IDs.
*/
+void GLAPIENTRY
+_mesa_GenBuffers_no_error(GLsizei n, GLuint *buffers)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ create_buffers(ctx, n, buffers, false);
+}
+
+
void GLAPIENTRY
_mesa_GenBuffers(GLsizei n, GLuint *buffers)
{
void GLAPIENTRY
_mesa_GenBuffers(GLsizei n, GLuint *buffers)
{
@@
-1491,6
+1499,14
@@
_mesa_GenBuffers(GLsizei n, GLuint *buffers)
* \param n Number of IDs to generate.
* \param buffers Array of \c n locations to store the IDs.
*/
* \param n Number of IDs to generate.
* \param buffers Array of \c n locations to store the IDs.
*/
+void GLAPIENTRY
+_mesa_CreateBuffers_no_error(GLsizei n, GLuint *buffers)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ create_buffers(ctx, n, buffers, true);
+}
+
+
void GLAPIENTRY
_mesa_CreateBuffers(GLsizei n, GLuint *buffers)
{
void GLAPIENTRY
_mesa_CreateBuffers(GLsizei n, GLuint *buffers)
{