fixed non-transparent screenshot background

This commit is contained in:
Zeno Rogue 2018-12-21 14:44:18 +01:00
parent 3d76e90584
commit 261f039ed6
1 changed files with 1 additions and 1 deletions

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