deferred skybox, fixes to use of ARB_depth_clamp extension usage, have TextureKey explicitly in QuadBatch

This commit is contained in:
veclavtalica
2024-10-22 09:30:14 +03:00
parent c49789f1f4
commit 48f63fc9df
4 changed files with 45 additions and 10 deletions

View File

@ -137,6 +137,7 @@ void create_circle_geometry(Vec2 position,
struct QuadBatch {
size_t size; /* how many primitives are in current batch */
TextureKey texture_key;
TextureMode mode; /* how color should be applied */
bool constant_colored; /* whether colored batch is uniformly colored */
bool repeat; /* whether repeat is needed */