summaryrefslogtreecommitdiff
path: root/cogl/cogl-onscreen-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-onscreen-template.c')
-rw-r--r--cogl/cogl-onscreen-template.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/cogl/cogl-onscreen-template.c b/cogl/cogl-onscreen-template.c
index 4f350e13..0083a2a0 100644
--- a/cogl/cogl-onscreen-template.c
+++ b/cogl/cogl-onscreen-template.c
@@ -94,3 +94,11 @@ cogl_onscreen_template_set_has_alpha (CoglOnscreenTemplate *onscreen_template,
{
onscreen_template->config.has_alpha = has_alpha;
}
+
+void
+cogl_onscreen_template_set_stereo_enabled (
+ CoglOnscreenTemplate *onscreen_template,
+ CoglBool enabled)
+{
+ onscreen_template->config.stereo_enabled = enabled;
+}