no mouse influenced antialias window size

This commit is contained in:
jrkb 2023-04-22 16:20:37 +02:00
parent 2117df65c4
commit af6a1a580d

View file

@ -165,8 +165,8 @@ void GPUFontAtlasLayerCombo::draw(){
int currentProgram; int currentProgram;
glGetIntegerv(GL_CURRENT_PROGRAM, &currentProgram); glGetIntegerv(GL_CURRENT_PROGRAM, &currentProgram);
antiAliasingWindowSize = ofMap(ofGetMouseX(), 0, ofGetWidth(), 0, 8); //antiAliasingWindowSize = ofMap(ofGetMouseX(), 0, ofGetWidth(), 1, 3);
enableSuperSamplingAntiAliasing = ofGetMouseY() > ofGetHeight() / 2; //enableSuperSamplingAntiAliasing = ofGetMouseY() > ofGetHeight() / 2;
float superLineHeight = 0; float superLineHeight = 0;
if(font){ if(font){
OFX_PROFILER_SCOPE("draw font"); OFX_PROFILER_SCOPE("draw font");