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();
}
glEnd();
glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
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();
}
glEnd();
glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
glDisable(GL_BLEND);