summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-01-12 17:34:39 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-03-09 16:20:42 -0700
commitd2abbe8d8ee5bc197eb2df92e19bbf978caa9191 (patch)
treea4ed05e91290e472a05e0d985b907fabdf404243
parent4ea10b0e49ad8e0c1c8ce0e5f6d3d07956f26e30 (diff)
arb_direct_state_access: Testing NamedBufferData.
-rw-r--r--tests/spec/arb_direct_state_access/namedbufferstorage.c2
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);