diff options
-rw-r--r-- | tests/spec/arb_direct_state_access/namedbufferstorage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/arb_direct_state_access/namedbufferstorage.c b/tests/spec/arb_direct_state_access/namedbufferstorage.c index 11880e5d7..55592482e 100644 --- a/tests/spec/arb_direct_state_access/namedbufferstorage.c +++ b/tests/spec/arb_direct_state_access/namedbufferstorage.c @@ -188,8 +188,8 @@ read_subtest(GLboolean coherent, GLboolean client_storage) glClear(GL_COLOR_BUFFER_BIT); glCreateBuffers(1, &srcbuf); + glNamedBufferData(srcbuf, BUF_SIZE, array, GL_STATIC_DRAW); glBindBuffer(GL_COPY_READ_BUFFER, srcbuf); - glBufferData(GL_COPY_READ_BUFFER, BUF_SIZE, array, GL_STATIC_DRAW); /* Copy some data to the mapped buffer and check if the CPU can see it. */ glBindBuffer(GL_COPY_WRITE_BUFFER, buffer); |