1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 23:10:26 +00:00

no readFboId on GLES

This commit is contained in:
Zeno Rogue 2020-12-24 22:58:55 +01:00
parent 9ef2f96413
commit 7c2f343960

View File

@ -246,9 +246,11 @@ resetbuffer::resetbuffer() {
drawFboId = 0, readFboId = 0; drawFboId = 0, readFboId = 0;
glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawFboId); glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawFboId);
GLERR("getInteger a"); GLERR("getInteger a");
#ifndef GLES_ONLY
glGetIntegerv(GL_READ_FRAMEBUFFER_BINDING, &readFboId); glGetIntegerv(GL_READ_FRAMEBUFFER_BINDING, &readFboId);
GLERR("getInteger b"); GLERR("getInteger b");
#endif #endif
#endif
#if CAP_SDL #if CAP_SDL
sreset = s; sreset = s;
#endif #endif