mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix windows build
This commit is contained in:
parent
f75fd186fd
commit
e146740da8
1 changed files with 2 additions and 2 deletions
|
|
@ -69,8 +69,8 @@ static int l_set_array(lua::State* L) {
|
|||
return 0;
|
||||
}
|
||||
std::vector<ubyte> buffer(
|
||||
reinterpret_cast<const ubyte*>(data.begin()),
|
||||
reinterpret_cast<const ubyte*>(data.end())
|
||||
reinterpret_cast<const ubyte*>(data.data()),
|
||||
reinterpret_cast<const ubyte*>(data.data() + data.size())
|
||||
);
|
||||
effect->setArray(key, std::move(buffer));
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue