mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
Remove a redundant glEnd in glx_dim_dst
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
09707d4b7a
commit
635e66dcd1
2 changed files with 0 additions and 4 deletions
|
@ -306,8 +306,6 @@ bool gl_dim_reg(session_t *ps, int dx, int dy, int width, int height, float z,
|
||||||
P_PAINTREG_END();
|
P_PAINTREG_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
glEnd();
|
|
||||||
|
|
||||||
glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
|
glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
|
|
||||||
|
|
|
@ -1224,8 +1224,6 @@ glx_dim_dst(session_t *ps, int dx, int dy, int width, int height, float z,
|
||||||
P_PAINTREG_END();
|
P_PAINTREG_END();
|
||||||
}
|
}
|
||||||
|
|
||||||
glEnd();
|
|
||||||
|
|
||||||
glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
|
glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
glDisable(GL_BLEND);
|
glDisable(GL_BLEND);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue