diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-08 16:02:56 +0000 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-03-08 16:02:56 +0000 |
| commit | 00fc3cb9b2c06026fab0e4760609fe02e027b6df (patch) | |
| tree | b84b527824ac1d5c999fc4a974fcf2c356b422ab /game/scenary/foliage.h | |
| parent | Replace gl_traits glTexParameter with glTexture::parameter DSA wrapper (diff) | |
| download | ilt-00fc3cb9b2c06026fab0e4760609fe02e027b6df.tar.bz2 ilt-00fc3cb9b2c06026fab0e4760609fe02e027b6df.tar.xz ilt-00fc3cb9b2c06026fab0e4760609fe02e027b6df.zip | |
Move all low level texture operations to DSA helpers in glTexture
Diffstat (limited to 'game/scenary/foliage.h')
| -rw-r--r-- | game/scenary/foliage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/scenary/foliage.h b/game/scenary/foliage.h index 3d73573..bf98d55 100644 --- a/game/scenary/foliage.h +++ b/game/scenary/foliage.h @@ -38,9 +38,9 @@ protected: GLsizei billboardSize {}; RelativeDistance useMeshClipDist {}; mutable Direction2D shadowStencilDir {std::numeric_limits<Direction2D::value_type>::infinity()}; - glTexture shadowStencil; + glTexture<GL_TEXTURE_2D_ARRAY> shadowStencil; mutable Angle billboardAngle = std::numeric_limits<Angle>::infinity(); - glTextures<3> billboard; + glTextures<GL_TEXTURE_2D_ARRAY, 3> billboard; private: InstanceVertices<Foliage::LocationVertex>::PartitionResult instancePartitions; |
