summaryrefslogtreecommitdiffstats
path: root/progs/samples/overlay.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/samples/overlay.c')
-rw-r--r--progs/samples/overlay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/samples/overlay.c b/progs/samples/overlay.c
index 0def2b1105e..4542b49a0a7 100644
--- a/progs/samples/overlay.c
+++ b/progs/samples/overlay.c
@@ -347,7 +347,7 @@ int main(int argc, char **argv)
if (!glutLayerGet(GLUT_OVERLAY_POSSIBLE))
{
fprintf(stderr, "Overlay not available\n");
- return;
+ return(1);
}
if (Args(argc, argv) == GL_FALSE) {