summaryrefslogtreecommitdiff
path: root/html/examples/glut_capture.c
diff options
context:
space:
mode:
Diffstat (limited to 'html/examples/glut_capture.c')
-rw-r--r--html/examples/glut_capture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/examples/glut_capture.c b/html/examples/glut_capture.c
index 80aadd2..b9a1779 100644
--- a/html/examples/glut_capture.c
+++ b/html/examples/glut_capture.c
@@ -152,7 +152,7 @@ void idle(void)
}
}
- imConvertPacking(image->data[0], gl_data, image->width, image->height, image->depth, image->data_type, 0);
+ imConvertPacking(image->data[0], gl_data, image->width, image->height, image->depth, image->depth, image->data_type, 0);
display();
}
}