1
0
Fork 0
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:
Yuxuan Shui 2019-01-29 22:26:26 +00:00
parent 09707d4b7a
commit 635e66dcd1
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47
2 changed files with 0 additions and 4 deletions

View file

@ -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);

View file

@ -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);