move to const

This commit is contained in:
Михаил Капелько committed 2026-10-18 14:51:46 +03:00
1 parent 127277e762
commit b1f0b7f637
4 files changed
+128 -120

No files matched your search

+3 -1
View File
@@ -57,7 +57,9 @@ final class RaylibGLNSView: NSOpenGLView {
context.setValues(&swapInterval, for: .swapInterval)
updatePixelSize()
sr_init(pixelWidth, pixelHeight, RAYLIB_SHADER_MAIN_VS)
sr_init(pixelWidth, pixelHeight,
RAYLIB_SHADER_MAIN_VS, RAYLIB_SHADER_MAIN_FS,
RAYLIB_SHADER_SHADOW_VS, RAYLIB_SHADER_SHADOW_FS)
loadModel()
startTime = CACurrentMediaTime()
ready = true