diff --git a/Raylib-cs/interop/Rlgl.cs b/Raylib-cs/interop/Rlgl.cs index 3370a96..2c60142 100644 --- a/Raylib-cs/interop/Rlgl.cs +++ b/Raylib-cs/interop/Rlgl.cs @@ -618,9 +618,9 @@ public static unsafe partial class Rlgl [DllImport(NativeLibName, EntryPoint = "rlLoadTextureDepth", CallingConvention = CallingConvention.Cdecl)] public static extern uint LoadTextureDepth(int width, int height, CBool useRenderBuffer); - /// Load texture cubemap + /// Load texture cubemap data [DllImport(NativeLibName, EntryPoint = "rlLoadTextureCubemap", CallingConvention = CallingConvention.Cdecl)] - public static extern uint LoadTextureCubemap(void* data, int size, PixelFormat format); + public static extern uint LoadTextureCubemap(void* data, int size, PixelFormat format, int mipmapCount); /// Update GPU texture with new data [DllImport(NativeLibName, EntryPoint = "rlUpdateTexture", CallingConvention = CallingConvention.Cdecl)]