From af6a1a580d9fa4580a8a77ce1e1e1c6a7c898216 Mon Sep 17 00:00:00 2001 From: themancalledjakob Date: Sat, 22 Apr 2023 16:20:37 +0200 Subject: [PATCH] no mouse influenced antialias window size --- src/GPUFontAtlasLayerCombo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GPUFontAtlasLayerCombo.cpp b/src/GPUFontAtlasLayerCombo.cpp index 4f2c089..1793f33 100644 --- a/src/GPUFontAtlasLayerCombo.cpp +++ b/src/GPUFontAtlasLayerCombo.cpp @@ -165,8 +165,8 @@ void GPUFontAtlasLayerCombo::draw(){ int currentProgram; glGetIntegerv(GL_CURRENT_PROGRAM, ¤tProgram); - antiAliasingWindowSize = ofMap(ofGetMouseX(), 0, ofGetWidth(), 0, 8); - enableSuperSamplingAntiAliasing = ofGetMouseY() > ofGetHeight() / 2; + //antiAliasingWindowSize = ofMap(ofGetMouseX(), 0, ofGetWidth(), 1, 3); + //enableSuperSamplingAntiAliasing = ofGetMouseY() > ofGetHeight() / 2; float superLineHeight = 0; if(font){ OFX_PROFILER_SCOPE("draw font");