diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-19 01:25:52 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-04-21 19:55:44 -0300 |
| commit | b33a0c0d5f8e0195ecbe9f058e967e8a0e43c093 (patch) | |
| tree | a7a1b11034b64ca73adea93260efe0d98bc30707 /src/video_core/gpu.cpp | |
| parent | 89ba13c7d24ed2fdae4c195e573858192d012677 (diff) | |
gl_rasterizer: Fix buffers without size
On NVN buffers can be enabled but have no size. According to deko3d and
the behavior we see in Animal Crossing: New Horizons these buffers get
the special address of 0x1000 and limit themselves to 0xfff.
Implement buffers without a size by binding a null buffer to OpenGL
without a side.
https://github.com/devkitPro/deko3d/blob/1d1930beea093b5a663419e93b0649719a3ca5da/source/maxwell/gpu_3d_vbo.cpp#L62-L63
Diffstat (limited to 'src/video_core/gpu.cpp')
0 files changed, 0 insertions, 0 deletions
