branch | qmlfrontend |
changeset 13802 | 5c0ea888c926 |
parent 12881 | 07a267d72fce |
--- 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}