summaryrefslogtreecommitdiff
path: root/zmq-camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'zmq-camera.c')
-rw-r--r--zmq-camera.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/zmq-camera.c b/zmq-camera.c
index 5469808..5123553 100644
--- a/zmq-camera.c
+++ b/zmq-camera.c
@@ -590,7 +590,10 @@ int main (int argc, char *argv [])
image_height, /* Height */
24, /* Depth */
image_width * 3, /* Scanline pitch */
- 0, 0, 0, 0); /* TODO: RGBA mask */
+ 0x000000ff, /* Red */
+ 0x0000ff00, /* Green */
+ 0x00ff0000, /* Blue */
+ 0); /* No alpha */
/* Blit surface to screen. */
SDL_BlitSurface (rgb_surface, NULL, screen, NULL);