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:
parent
9ef2f96413
commit
7c2f343960
@ -246,9 +246,11 @@ resetbuffer::resetbuffer() {
|
||||
drawFboId = 0, readFboId = 0;
|
||||
glGetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawFboId);
|
||||
GLERR("getInteger a");
|
||||
#ifndef GLES_ONLY
|
||||
glGetIntegerv(GL_READ_FRAMEBUFFER_BINDING, &readFboId);
|
||||
GLERR("getInteger b");
|
||||
#endif
|
||||
#endif
|
||||
#if CAP_SDL
|
||||
sreset = s;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user