diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-09-27 14:23:23 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-09-28 01:48:05 +0530 |
| commit | 80c7b93987a1af10d394370fd7afd56001590d72 (patch) | |
| tree | 1e24bfc5b94775dbf5f356ca68e7e51baace2287 /templates | |
| parent | dfa6bcc3db9c65dd0845b952b5f1afbf374a423e (diff) | |
| download | art-playground-openrndr-80c7b93987a1af10d394370fd7afd56001590d72.tar.gz art-playground-openrndr-80c7b93987a1af10d394370fd7afd56001590d72.zip | |
More screenshots
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/glsl/kotlin/Program.kt | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/templates/glsl/kotlin/Program.kt b/templates/glsl/kotlin/Program.kt index 3e436e8..08b74d2 100644 --- a/templates/glsl/kotlin/Program.kt +++ b/templates/glsl/kotlin/Program.kt @@ -10,10 +10,18 @@ import phenax.utils.* fun main() = application { recordDuration(5.seconds()) - configure { - width = 640 - height = 480 - windowResizable = false + if (recordingEnabled || screenshotEnabled) { + configure { + width = 1920 + height = 1080 + windowResizable = false + } + } else { + configure { + width = 640 + height = 360 + windowResizable = false + } } oliveProgram { |
