GS/HW: Vertex/index pointers should be constant

This commit is contained in:
Connor McLaughlin 2022-09-23 23:39:53 +10:00 committed by refractionpcsx2
parent d5e8fadc64
commit 5d7ab54340
1 changed files with 2 additions and 2 deletions

View File

@ -647,8 +647,8 @@ struct alignas(16) GSHWDrawConfig
GSTexture* ds; ///< Depth stencil GSTexture* ds; ///< Depth stencil
GSTexture* tex; ///< Source texture GSTexture* tex; ///< Source texture
GSTexture* pal; ///< Palette texture GSTexture* pal; ///< Palette texture
GSVertex* verts; ///< Vertices to draw const GSVertex* verts;///< Vertices to draw
u32* indices; ///< Indices to draw const u32* indices; ///< Indices to draw
u32 nverts; ///< Number of vertices u32 nverts; ///< Number of vertices
u32 nindices; ///< Number of indices u32 nindices; ///< Number of indices
u32 indices_per_prim; ///< Number of indices that make up one primitive u32 indices_per_prim; ///< Number of indices that make up one primitive