Set OpenGL blend mode for placefile transparency

This commit is contained in:
Dan Paulat 2023-08-03 23:38:27 -05:00
parent ec946b71f4
commit 6e42001281

View file

@ -205,6 +205,9 @@ void PlacefileLayer::Render(
{
gl::OpenGLFunctions& gl = context()->gl();
// Set OpenGL blend mode for transparency
gl.glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
// Reset text ID per frame
p->textId_ = 0;