fix: incorrect texture view pointers

This commit is contained in:
Samuliak 2025-01-12 13:45:38 +01:00
parent 82c2d14828
commit a28f9d65fc
No known key found for this signature in database

View file

@ -125,7 +125,7 @@ struct MetalState
MetalActiveFBOState m_lastUsedFBO;
size_t m_vertexBufferOffsets[MAX_MTL_VERTEX_BUFFERS];
class LatteTextureViewMtl* m_textures[LATTE_NUM_MAX_TEX_UNITS] = {nullptr};
class LatteTextureViewMtl* m_textures[LATTE_NUM_MAX_TEX_UNITS * 3] = {nullptr};
size_t m_uniformBufferOffsets[METAL_GENERAL_SHADER_TYPE_TOTAL][MAX_MTL_BUFFERS];
MTL::Viewport m_viewport;