sorted files list in objc

This commit is contained in:
2018-04-08 12:28:35 +02:00
parent 23b7788063
commit aef4cc2230
6 changed files with 66 additions and 0 deletions

View File

@@ -354,6 +354,7 @@ void App::update(float dt)
rec_timer = 0.f;
auto data = new uint8_t[width * height * 4];
glBindFramebuffer(GL_READ_FRAMEBUFFER, 0);
glReadBuffer(GL_BACK);
glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, data);
{