Index: webcam.c
===================================================================
--- webcam.c	(revision 18)
+++ webcam.c	(revision 19)
@@ -191,13 +191,15 @@
 r = select(fd + 1, &fds, NULL, NULL, &tv);
 // nothing to read, we'll try later (next frame)
 if(r<=0)
+    {
+    //perror("");
     return;
+    }
 
 src = buffer;
 
 if(capture_style==CAPTURE_READ)
  {
-
  read(fd, buffer, win.width * win.height * bpp);
 }
 else
@@ -284,8 +286,11 @@
 
 raydium_clear_frame();
 raydium_camera_look_at(camx,camy,camz,0,0,0);
-raydium_object_draw_name("cocorobix.tri");
 
+raydium_osd_mask_texture_clip("webcam.tga",1,75,56,0,0);
+
+//raydium_object_draw_name("cocorobix.tri");
+
 raydium_camera_replace();
 glRotatef(rz,0,0,1);
 glRotatef(ry,0,1,0);