mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
fixed non-transparent screenshot background
This commit is contained in:
parent
3d76e90584
commit
261f039ed6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user