mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-11 12:47:39 +00:00
fixed non-transparent screenshot background
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user