diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-13 14:35:39 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-13 14:35:39 +0000 |
commit | da6b8b00f742249138077ce9bcd92d8fd4f48ef8 (patch) | |
tree | 300776f2632b6a8e0b1eb94fc6852b478e2f6141 /test/test-instancing.cpp | |
parent | Default destructor for trivial types of glContainer (diff) | |
download | ilt-da6b8b00f742249138077ce9bcd92d8fd4f48ef8.tar.bz2 ilt-da6b8b00f742249138077ce9bcd92d8fd4f48ef8.tar.xz ilt-da6b8b00f742249138077ce9bcd92d8fd4f48ef8.zip |
Use std::span for iterator/data pointer in glContainer
Diffstat (limited to 'test/test-instancing.cpp')
-rw-r--r-- | test/test-instancing.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-instancing.cpp b/test/test-instancing.cpp index c1860a4..98133f3 100644 --- a/test/test-instancing.cpp +++ b/test/test-instancing.cpp @@ -56,11 +56,11 @@ BOOST_AUTO_TEST_CASE(autoMapUnmap) { { auto proxy = acquire(); - BOOST_CHECK(data_); + BOOST_CHECK(data_.data()); std::ignore = bufferName(); - BOOST_CHECK(data_); + BOOST_CHECK(data_.data()); BOOST_CHECK_EQUAL(1, size()); - BOOST_CHECK(!data_); + BOOST_CHECK(!data_.data()); } BOOST_CHECK_EQUAL(0, size()); } |