Skip to content

Commit 1fe8b38

Browse files
Application.Slim.GL: activated stereo swapchain
1 parent f8c49ad commit 1fe8b38

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Application/Aardvark.Application.Slim.GL/Application.fs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,10 @@ module private OpenGL =
371371
override this.Handle =
372372
handle :> obj
373373
override this.CreateSwapchain(size: V2i) =
374-
createSwapchain runtime signature handle glfw win size
374+
if cfg.stereo then
375+
createStereoSwapchain runtime signature handle glfw win size
376+
else
377+
createSwapchain runtime signature handle glfw win size
375378
override this.Dispose() =
376379
signature.Dispose()
377380
ctx.Dispose()

0 commit comments

Comments
 (0)