mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Linux fixes
This commit is contained in:
parent
ad3d90e521
commit
6a35544195
5 changed files with 39 additions and 0 deletions
|
@ -103,6 +103,7 @@ namespace Beefy.gfx
|
|||
scope AutoBeefPerf("Image.LoadFromFile");
|
||||
|
||||
var useFileName = scope String()..Append(fileName);
|
||||
useFileName.Replace('\\', '/');
|
||||
FilePackManager.TryMakeMemoryString(useFileName);
|
||||
void* aNativeTextureSegment = Gfx_LoadTexture(useFileName, (int32)flags);
|
||||
if (aNativeTextureSegment == null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue