You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: raylib/src/core/shaders.rs
+8-36
Original file line number
Diff line number
Diff line change
@@ -29,17 +29,10 @@ impl RaylibHandle {
29
29
let c_vs_filename = vs_filename.map(|f| CString::new(f).unwrap());
30
30
let c_fs_filename = fs_filename.map(|f| CString::new(f).unwrap());
31
31
32
-
// Trust me, I have tried ALL the RUST option ergonamics. This is the only way
33
-
// to get this to work without raylib breaking for whatever reason
34
-
// UPDATE FOR 2024 FROM ANOTHER PERSON: Yes this is still true, doing although "for some reason" is likely due to the pointer getting freed too early if you don't do it this way.
0 commit comments