summaryrefslogtreecommitdiffstats
path: root/game/client/world/voxel_atlas.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-09-11 15:45:26 +0500
committeruntodesu <kirill@untode.su>2025-09-11 15:45:26 +0500
commitb8bbc54c5c920aff1ff1b45a693f50d6d96d61c8 (patch)
tree8b2903b313a71f8851705be400fc3e0a8317028f /game/client/world/voxel_atlas.cc
parenta6ea7b7bbc66327cc2a957496f65dcfab5361cee (diff)
downloadvoxelius-b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8.tar.bz2
voxelius-b8bbc54c5c920aff1ff1b45a693f50d6d96d61c8.zip
Revise style: split include groups
Diffstat (limited to 'game/client/world/voxel_atlas.cc')
-rw-r--r--game/client/world/voxel_atlas.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/game/client/world/voxel_atlas.cc b/game/client/world/voxel_atlas.cc
index 1018747..512a06a 100644
--- a/game/client/world/voxel_atlas.cc
+++ b/game/client/world/voxel_atlas.cc
@@ -4,6 +4,7 @@
#include "core/math/constexpr.hh"
#include "core/math/crc64.hh"
+
#include "core/resource/image.hh"
#include "core/resource/resource.hh"
@@ -71,8 +72,8 @@ static world::AtlasStrip* plane_new_strip(AtlasPlane& plane, const std::vector<s
}
const std::size_t offset = strip.offset + i;
- glTexSubImage3D(
- GL_TEXTURE_2D_ARRAY, 0, 0, 0, offset, image->size.x, image->size.y, 1, GL_RGBA, GL_UNSIGNED_BYTE, image->pixels);
+ glTexSubImage3D(GL_TEXTURE_2D_ARRAY, 0, 0, 0, offset, image->size.x, image->size.y, 1, GL_RGBA, GL_UNSIGNED_BYTE,
+ image->pixels);
}
}