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

+4 -2
View File
@@ -6,8 +6,10 @@ extern "C" {
#endif
// Initialise the OpenGL-backed raylib scene (no raylib window is created).
// main_vs is the main vertex shader source (see raylibConstShader.swift).
void sr_init(int width, int height, const char *main_vs);
// The four shader sources come from raylibConstShader.swift.
void sr_init(int width, int height,
const char *main_vs, const char *main_fs,
const char *shadow_vs, const char *shadow_fs);
// Load the textured cube glTF model.
void sr_load_model(const char *gltf_path);