From 141d1fa7890aa57f395bc40d7ad90363bd71f9e2 Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Mon, 26 Aug 2024 23:04:55 +0200 Subject: [PATCH] [orx-syphon] Update for change in ColorBufferGL3 constructor --- orx-jvm/orx-syphon/src/main/kotlin/SyphonClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orx-jvm/orx-syphon/src/main/kotlin/SyphonClient.kt b/orx-jvm/orx-syphon/src/main/kotlin/SyphonClient.kt index 23c3d777..48868f15 100644 --- a/orx-jvm/orx-syphon/src/main/kotlin/SyphonClient.kt +++ b/orx-jvm/orx-syphon/src/main/kotlin/SyphonClient.kt @@ -47,7 +47,7 @@ class SyphonClient(private val appName: String? = null, private val serverName: * GL_TEXTURE_RECTANGLE is necessary */ val GL_TEXTURE_RECTANGLE = 0x84F5 - val rectBuffer = ColorBufferGL3(GL_TEXTURE_RECTANGLE, name, TextureStorageModeGL.IMAGE, w, h, 1.0, ColorFormat.RGBa, ColorType.UINT8, 0, BufferMultisample.Disabled, Session.root) + val rectBuffer = ColorBufferGL3(GL_TEXTURE_RECTANGLE, name, w, h, 1.0, ColorFormat.RGBa, ColorType.UINT8, 0, BufferMultisample.Disabled, Session.root) /** * Only create a new buffer if it's size changed