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;
glGetIntegerv(GL_CURRENT_PROGRAM, &currentProgram);
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");