Actually generate DownscaleFramebuffer (#2059)

This commit is contained in:
CasualPokePlayer 2024-06-08 11:48:42 -07:00 committed by GitHub
parent a72b79a55a
commit 8e9b88d01d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -233,6 +233,7 @@ std::unique_ptr<GLRenderer> GLRenderer::New() noexcept
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(IndexBuffer), nullptr, GL_DYNAMIC_DRAW);
glGenFramebuffers(1, &result->MainFramebuffer);
glGenFramebuffers(1, &result->DownscaleFramebuffer);
// color buffers
glGenTextures(1, &result->ColorBufferTex);