Merge remote-tracking branch 'origin/webgl2' into pr/juancampa/6-1

This commit is contained in:
Daniel Imms
2019-03-08 12:09:30 -08:00
36 changed files with 2035 additions and 455 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ export class GlyphRenderer {
// TODO: Make fg and bg configurable, currently since the buffer doesn't
// support truecolor the char atlas cannot store it.
const lumi = this._colorManager.getLuminance(this._colorManager.colors.background)
const lumi = this._colorManager.getLuminance(this._colorManager.colors.background);
const fg = lumi > 0.5 ? 7 : 0;
const bg = lumi > 0.5 ? 0 : 7;