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 4881de924a
commit 4e14eec2ba
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
2 changed files with 0 additions and 4 deletions

View File

@ -327,8 +327,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

@ -1165,8 +1165,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);