aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index 61aa3ae..a9d9a48 100644
--- a/main.cpp
+++ b/main.cpp
@@ -879,8 +879,6 @@ void render(){
if(ui::debug){
- ui::setFontSize(16);
-
ui::putText(offset.x-SCREEN_WIDTH/2,
(offset.y+SCREEN_HEIGHT/2)-ui::fontSize,
"FPS: %d\nG:%d\nRes: %ux%u\nE: %d\nPOS: (x)%+.2f\n (y)%+.2f\nTc: %u\nHA: %+.2f",
@@ -894,6 +892,7 @@ void render(){
tickCount,
handAngle
);
+
if(ui::posFlag){
glBegin(GL_LINES);
glColor3ub(255,0,0);
@@ -936,7 +935,7 @@ void render(){
if(fadeIntensity == 255){
ui::importantText("The screen is black.");
}
- }
+ }else if(ui::fontSize != 16) ui::setFontSize(16);
/**************************
**** END RENDERING ****