From 37f5f641150eb1c41b7fda4953ce33c5b7c1f02b Mon Sep 17 00:00:00 2001
From: JupiterRider <60042618+JupiterRider@users.noreply.github.com>
Date: Fri, 6 Dec 2024 19:57:13 +0100
Subject: [PATCH] IsTextureReady renamed
---
Raylib-cs/interop/Raylib.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs
index 1f2eab9..ca1df8c 100644
--- a/Raylib-cs/interop/Raylib.cs
+++ b/Raylib-cs/interop/Raylib.cs
@@ -1801,9 +1801,9 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern RenderTexture2D LoadRenderTexture(int width, int height);
- /// Check if a texture is ready
+ /// Check if a texture is valid (loaded in GPU)
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern CBool IsTextureReady(Texture2D texture);
+ public static extern CBool IsTextureValid(Texture2D texture);
/// Unload texture from GPU memory (VRAM)
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]