summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-01-29 13:56:09 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-01-29 13:56:09 +0100
commita2a026ed7489bf71d591f629b756cc50de2df72d (patch)
treeb25012d01fb454eceb263700d046f29861f87bb0 /test
parent871e7063a27706b22921536232797e43d513793a (diff)
Remove debug output from test/fullscreen demo
Output statements commented out and modified to go to stderr if used.
Diffstat (limited to 'test')
-rw-r--r--test/fullscreen.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/fullscreen.cxx b/test/fullscreen.cxx
index 54be3701b..fab06c3e1 100644
--- a/test/fullscreen.cxx
+++ b/test/fullscreen.cxx
@@ -77,10 +77,10 @@ Fl_Gl_Window(x,y,w,h,l) {
}
void shape_window::draw() {
- printf("drawing size %d %d\n",w(),h());
+ // fprintf(stderr, "drawing size %d %d\n", w(), h());
if (!valid()) {
valid(1);
-// printf("init\n");
+ // fprintf(stderr, "init\n");
glLoadIdentity();
glViewport(0,0,pixel_w(),pixel_h());
}
@@ -134,7 +134,7 @@ fullscreen_window::fullscreen_window(int W, int H, const char *t) : Fl_Single_Wi
int fullscreen_window::handle(int e) {
if (e == FL_FULLSCREEN) {
- printf("Received FL_FULLSCREEN event\n");
+ // fprintf(stderr, "Received FL_FULLSCREEN event\n");
b3->value(fullscreen_active());
}
if (Fl_Single_Window::handle(e)) return 1;