Actually generate DownscaleFramebuffer (#2059)
This commit is contained in:
parent
a72b79a55a
commit
8e9b88d01d
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue