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