1
0
Fork 0

gl_rasterizer: decrease vertex buffer size (#4703)

Nvidia seems to have flickering issue with pokemon for some specific vertex buffer size. The root cause is still unknown. This is just a workaround
This commit is contained in:
Weiyi Wang 2019-08-10 04:51:24 -04:00 committed by Ben
parent 88db89bf57
commit 0269cb6e67
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ private:
std::unique_ptr<ShaderProgramManager> shader_program_manager;
// They shall be big enough for about one frame.
static constexpr std::size_t VERTEX_BUFFER_SIZE = 32 * 1024 * 1024;
static constexpr std::size_t VERTEX_BUFFER_SIZE = 16 * 1024 * 1024;
static constexpr std::size_t INDEX_BUFFER_SIZE = 1 * 1024 * 1024;
static constexpr std::size_t UNIFORM_BUFFER_SIZE = 2 * 1024 * 1024;
static constexpr std::size_t TEXTURE_BUFFER_SIZE = 1 * 1024 * 1024;