*/}}
Browse Source

Slight clean up for printf and gl debug

YimingWu 4 months ago
parent
commit
63b66831cd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      la_kernel.c

+ 2 - 2
la_kernel.c

@@ -848,7 +848,7 @@ void laSetFontFolderPath(char* absolute){
 }
 
 void laSetDefaultInitArguments(laInitArguments* ia){
-    ia->GLMajor=3; ia->GLMinor=3; ia->BufferSamples=0; ia->GLDebug=1;
+    ia->GLMajor=3; ia->GLMinor=3; ia->BufferSamples=0;
     ia->UseColorManagement=0;
     ia->HasWorldObjects=0;
     ia->HasAction=0;
@@ -7081,7 +7081,7 @@ static void la_RecordWacomMotions(XIRawEvent *event)
     }else{ MAIN.StylusDeviation=MAIN.StylusOrientation=MAIN.EraserDeviation=MAIN.EraserOrientation=0; }
     if(XIMaskIsSet(event->valuators.mask, 5)){
         real angle=valuator[5]; angle=rad((900-angle)/10*2-180); if(angle<0) angle+=TNS_PI*2; MAIN.StylusTwist=angle; 
-        printf("a %lf\n",angle);
+        // printf("a %lf\n",angle);
     }else{ MAIN.StylusTwist=0; }
 
     MAIN.IsPen=1;