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
{{ message }}
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.
Wherever null string is accepted it is converted to a valid pointer to a '\0' instead of null.
This produces a warning when using LoadShader since '\0' is not a valid file path but at least it works since raylib checks if file was loaded correctly.
This completely breaks LoadShaderFromMemory however because it's trying to compile '\0' as a shader.
The text was updated successfully, but these errors were encountered:
Do you have some sample code I could test with? probably the string marshalling helper needs to be modified. But I'm not an expert on marshalling so having an explcit sample code to verify with would help.
Wherever null string is accepted it is converted to a valid pointer to a '\0' instead of null.
This produces a warning when using LoadShader since '\0' is not a valid file path but at least it works since raylib checks if file was loaded correctly.
This completely breaks LoadShaderFromMemory however because it's trying to compile '\0' as a shader.
The text was updated successfully, but these errors were encountered: