no mouse influenced antialias window size
This commit is contained in:
parent
2117df65c4
commit
af6a1a580d
1 changed files with 2 additions and 2 deletions
|
@ -165,8 +165,8 @@ void GPUFontAtlasLayerCombo::draw(){
|
||||||
int currentProgram;
|
int currentProgram;
|
||||||
glGetIntegerv(GL_CURRENT_PROGRAM, ¤tProgram);
|
glGetIntegerv(GL_CURRENT_PROGRAM, ¤tProgram);
|
||||||
|
|
||||||
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");
|
||||||
|
|
Loading…
Reference in a new issue