author | unc0rr |
Tue, 11 Sep 2018 21:16:27 +0200 | |
branch | qmlfrontend |
changeset 13777 | 5c0ea888c926 |
parent 12897 | 0088bcccd19a |
--- a/hedgewars/uRender.pas Sun Jan 14 23:30:42 2018 +0100 +++ b/hedgewars/uRender.pas Tue Sep 11 21:16:27 2018 +0200 @@ -179,6 +179,8 @@ procedure RenderClear(); begin glClear(GL_COLOR_BUFFER_BIT or GL_DEPTH_BUFFER_BIT); + glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); + glDepthFunc(GL_LEQUAL); end; {$IFDEF USE_S3D_RENDERING}