AbstractFont_placeGlyphAlpha fix drawAlpha (#3)

* bump version number

* Fix AbstractFont_placeGlyphAlpha

no idea what kind of side effects this could have, but it didnt break the limited things i tested.
This commit is contained in:
ThatGamerBlue
2020-01-14 16:36:23 +00:00
committed by Kyle
parent d49f9c080d
commit c9ec2a2e44
2 changed files with 3 additions and 3 deletions

View File

@@ -139,9 +139,9 @@ public class RasterizerAlpha extends AbstractInjector
Instruction alphaPushI = alphaPusher.getInstruction();
if (alphaPushI instanceof GetStatic)
{
instrs.addInstruction(storeIdx++, new LDC(instrs, 255));
//instrs.addInstruction(storeIdx++, new LDC(instrs, 255));
instrs.addInstruction(storeIdx++, new GetStatic(instrs, ((GetStatic) alphaPushI).getField()));
instrs.addInstruction(storeIdx++, new ISub(instrs, InstructionType.ISUB));
//instrs.addInstruction(storeIdx++, new ISub(instrs, InstructionType.ISUB));
}
else if (alphaPushI instanceof LVTInstruction)
{