From 7a349054f561579b7ba966a0ea7821a33e175f74 Mon Sep 17 00:00:00 2001
From: JupiterRider <60042618+JupiterRider@users.noreply.github.com>
Date: Fri, 6 Dec 2024 19:58:09 +0100
Subject: [PATCH] IsRenderTextureReady 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 ca1df8c..31d8e83 100644
--- a/Raylib-cs/interop/Raylib.cs
+++ b/Raylib-cs/interop/Raylib.cs
@@ -1809,9 +1809,9 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void UnloadTexture(Texture2D texture);
- /// Check if a render texture is ready
+ /// Check if a render texture is valid (loaded in GPU)
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
- public static extern CBool IsRenderTextureReady(RenderTexture2D target);
+ public static extern CBool IsRenderTextureValid(RenderTexture2D target);
/// Unload render texture from GPU memory (VRAM)
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]