Merge remote-tracking branch 'origin/master' into doublemelon
This commit is contained in:
commit
1d4c5d1576
|
@ -233,6 +233,7 @@ std::unique_ptr<GLRenderer> GLRenderer::New() noexcept
|
||||||
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(IndexBuffer), nullptr, GL_DYNAMIC_DRAW);
|
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(IndexBuffer), nullptr, GL_DYNAMIC_DRAW);
|
||||||
|
|
||||||
glGenFramebuffers(1, &result->MainFramebuffer);
|
glGenFramebuffers(1, &result->MainFramebuffer);
|
||||||
|
glGenFramebuffers(1, &result->DownscaleFramebuffer);
|
||||||
|
|
||||||
// color buffers
|
// color buffers
|
||||||
glGenTextures(1, &result->ColorBufferTex);
|
glGenTextures(1, &result->ColorBufferTex);
|
||||||
|
|
Loading…
Reference in New Issue