GS: Fix index expand buffer size

Expansion multiplies indices by 4 for vertices, so the maximum is 65535 / 4 = 16383
This commit is contained in:
TellowKrinkle 2023-05-14 17:45:41 -05:00 committed by lightningterror
parent df847835ad
commit c1f3f0a247
1 changed files with 1 additions and 1 deletions

View File

@ -754,7 +754,7 @@ protected:
static constexpr u32 MAX_POOLED_TEXTURES = 300;
static constexpr u32 MAX_TEXTURE_AGE = 10;
static constexpr u32 NUM_CAS_CONSTANTS = 12; // 8 plus src offset x/y, 16 byte alignment
static constexpr u32 EXPAND_BUFFER_SIZE = sizeof(u16) * 65532 * 6;
static constexpr u32 EXPAND_BUFFER_SIZE = sizeof(u16) * 16383 * 6;
WindowInfo m_window_info;
VsyncMode m_vsync_mode = VsyncMode::Off;