- fixed mouse scaling

This commit is contained in:
Christoph Oelckers 2019-11-10 11:59:22 +01:00
parent a1a9770b44
commit 55018aae7e
2 changed files with 6 additions and 4 deletions

View file

@ -94,6 +94,7 @@ void GLInstance::Draw2D(F2DDrawer *drawer)
EnableDepthTest(false);
EnableMultisampling(false);
EnableBlend(true);
EnableAlphaTest(true);
auto &vertices = drawer->mVertices;
auto &indices = drawer->mIndices;
@ -193,4 +194,5 @@ void GLInstance::Draw2D(F2DDrawer *drawer)
SetColor(1, 1, 1);
//drawer->mIsFirstPass = false;
twod.Clear();
EnableMultisampling(true);
}