From 8384e3605450a153e3eef50b6a4fd6e6d38be802 Mon Sep 17 00:00:00 2001
From: JupiterRider <60042618+JupiterRider@users.noreply.github.com>
Date: Mon, 28 Jul 2025 13:27:06 +0200
Subject: [PATCH 1/2] Update docs of some FromMemory-functions #305 (#306)
---
Raylib-cs/interop/Raylib.cs | 6 +++---
Raylib-cs/types/Raylib.Utils.cs | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs
index 6d2daf7..fdb4871 100644
--- a/Raylib-cs/interop/Raylib.cs
+++ b/Raylib-cs/interop/Raylib.cs
@@ -1424,7 +1424,7 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Image LoadImageAnim(sbyte* fileName, int* frames);
- /// Load image from memory buffer, fileType refers to extension: i.e. "png"
+ /// Load image from memory buffer, fileType refers to extension: i.e. ".png"
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Image LoadImageFromMemory(sbyte* fileType, byte* fileData, int dataSize);
@@ -1976,7 +1976,7 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Font LoadFontFromImage(Image image, Color key, int firstChar);
- /// Load font from memory buffer, fileType refers to extension: i.e. "ttf"
+ /// Load font from memory buffer, fileType refers to extension: i.e. ".ttf"
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Font LoadFontFromMemory(
sbyte* fileType,
@@ -2694,7 +2694,7 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Wave LoadWave(sbyte* fileName);
- /// Load wave from memory buffer, fileType refers to extension: i.e. "wav"
+ /// Load wave from memory buffer, fileType refers to extension: i.e. ".wav"
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Wave LoadWaveFromMemory(sbyte* fileType, byte* fileData, int dataSize);
diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs
index 60df969..43e74bc 100644
--- a/Raylib-cs/types/Raylib.Utils.cs
+++ b/Raylib-cs/types/Raylib.Utils.cs
@@ -130,7 +130,7 @@ public static unsafe partial class Raylib
}
///
- /// Load image from managed memory, fileType refers to extension: i.e. "png"
+ /// Load image from managed memory, fileType refers to extension: i.e. ".png"
///
public static Image LoadImageFromMemory(string fileType, byte[] fileData)
{
@@ -949,7 +949,7 @@ public static unsafe partial class Raylib
}
///
- /// Load font from managed memory, fileType refers to extension: i.e. "ttf"
+ /// Load font from managed memory, fileType refers to extension: i.e. ".ttf"
///
public static Font LoadFontFromMemory(
string fileType,
@@ -1273,7 +1273,7 @@ public static unsafe partial class Raylib
}
///
- /// Load wave from managed memory, fileType refers to extension: i.e. "wav"
+ /// Load wave from managed memory, fileType refers to extension: i.e. ".wav"
///
public static Wave LoadWaveFromMemory(
string fileType,
From ca4e760d60ff14e6797f5a90d2678cd95efa3455 Mon Sep 17 00:00:00 2001
From: Quentin
Date: Tue, 19 Aug 2025 20:33:49 +0200
Subject: [PATCH 2/2] Update InputMultitouch.cs (#310)
Fix typo
---
Examples/Core/InputMultitouch.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Examples/Core/InputMultitouch.cs b/Examples/Core/InputMultitouch.cs
index 1b62f76..266d198 100644
--- a/Examples/Core/InputMultitouch.cs
+++ b/Examples/Core/InputMultitouch.cs
@@ -38,7 +38,7 @@ public class InputMultitouch
{
// Update
//----------------------------------------------------------------------------------
- // Get the touch point count (h ow many fingers are touching the screen )
+ // Get the touch point count (how many fingers are touching the screen )
int tCount = GetTouchPointCount();
// Clamp touch points available (set the maximum touch points allowed )