move to const
This commit is contained in:
1 parent
127277e762
commit
b1f0b7f637
4 files changed
+128
-120
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user