summaryrefslogtreecommitdiff
path: root/test/test-instancing.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-13 14:35:39 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-13 14:35:39 +0000
commitda6b8b00f742249138077ce9bcd92d8fd4f48ef8 (patch)
tree300776f2632b6a8e0b1eb94fc6852b478e2f6141 /test/test-instancing.cpp
parentDefault destructor for trivial types of glContainer (diff)
downloadilt-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.cpp6
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());
}