summaryrefslogtreecommitdiff
path: root/client2.cpp
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-03-18 21:32:47 +0100
committerFlorian Jung <flo@windfisch.org>2015-03-18 21:32:47 +0100
commitb26209f4ee7a1cb6d69a232848a48276adbc7605 (patch)
treef72f0d989a6707c32682551f067ae9862da4121e /client2.cpp
parentab88fbfa66bbdc5c31f729fc1b76bfffae19fac0 (diff)
no grid, proper video speed
Diffstat (limited to 'client2.cpp')
-rw-r--r--client2.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/client2.cpp b/client2.cpp
index 9411b72..3e76f5a 100644
--- a/client2.cpp
+++ b/client2.cpp
@@ -92,9 +92,9 @@ const char* drawOnCanvasFragmentSource =
" }\n"
" else\n"
" outColor = vec4(0.0,0.0,0.0,0.00);"
- " float xxx = Texcoord.x/3.141592654*180/10+100;"
- " float yyy = Texcoord.y/3.141592654*180/10+100;"
- " if ( (abs(xxx- int(xxx)) < 0.01) || (abs(yyy- int(yyy)) <.01)) outColor = vec4(1,1,1,1);"
+ //" float xxx = Texcoord.x/3.141592654*180/10+100;"
+ //" float yyy = Texcoord.y/3.141592654*180/10+100;"
+ //" if ( (abs(xxx- int(xxx)) < 0.01) || (abs(yyy- int(yyy)) <.01)) outColor = vec4(1,1,1,1);"
//" else outColor = vec4(0,0,0,1);"
"}\n";
@@ -621,6 +621,8 @@ void* video_fetcher_thread(void* ptr)
}
oldgray = gray.clone();
+
+ usleep(40000);
}
return NULL;
}