diff --git a/src/gl/scene/gl_sprite.cpp b/src/gl/scene/gl_sprite.cpp index b29053383..5ca2cd65d 100644 --- a/src/gl/scene/gl_sprite.cpp +++ b/src/gl/scene/gl_sprite.cpp @@ -321,6 +321,12 @@ void GLSprite::Draw(int pass) } else if (modelframe == nullptr) { + int tm, sb, db, be; + + // This still needs to set the texture mode. As blend mode it will always use GL_ONE/GL_ZERO + gl_GetRenderStyle(RenderStyle, false, false, &tm, &sb, &db, &be); + gl_RenderState.SetTextureMode(tm); + glEnable(GL_POLYGON_OFFSET_FILL); glPolygonOffset(-1.0f, -128.0f); }