1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-30 03:50:34 +00:00

fixed non-transparent screenshot background

This commit is contained in:
Zeno Rogue 2018-12-21 14:44:18 +01:00
parent 3d76e90584
commit 261f039ed6

View File

@ -187,7 +187,7 @@ renderbuffer::~renderbuffer() {
void renderbuffer::clear(color_t col) { void renderbuffer::clear(color_t col) {
#if CAP_GL #if CAP_GL
if(FramebufferName) { if(FramebufferName) {
setGLProjection(0); setGLProjection(col);
return; return;
} }
#endif #endif