Commit f38f67e4 authored by dscho's avatar dscho

Fix blooptest example

parent b7a901d7
......@@ -20,8 +20,3 @@ noinst_PROGRAMS=example pnmshow regiontest pnmshow24 fontsel \
vncev storepasswd colourmaptest simple simple15 $(MAC) \
$(FILETRANSFER) backchannel $(BLOOPTEST)
blooptest.o: example.c
$(CC) $(AM_CFLAGS) $(CFLAGS) -c -o $@ $<
#define BACKGROUND_LOOP_TEST
#include "example.c"
......@@ -324,6 +324,7 @@ int main(int argc,char** argv)
/* this is the non-blocking event loop; a background thread is started */
rfbRunEventLoop(rfbScreen,-1,TRUE);
fprintf(stderr, "Running background loop...\n");
/* now we could do some cool things like rendering in idle time */
while(1) sleep(5); /* render(); */
#endif /* BACKGROUND_LOOP */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment