daily update on 20240528 by nitload youmu

This commit is contained in:
Nitload
2024-05-28 17:45:54 +08:00
parent de399e22c2
commit 70890e3e33
88 changed files with 10678 additions and 5761 deletions
@@ -29,6 +29,7 @@
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Graphics;
using StgSharp.Graphics.GL;
using StgSharp.Math;
using System;
@@ -1,4 +1,6 @@
using System;
using StgSharp.Graphics.GL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -36,7 +38,7 @@ namespace StgSharp.Graphics.ShaderEdit
public unsafe void SetAllUniforms()
{
GLcontext* gl = (GLcontext*) GL.CurrentContextHandle;
GLcontext* gl = (GLcontext*) glFunc.CurrentContextHandle;
foreach (var uniform in uniformPair)
{
int id = uniform.Key.Value;
@@ -59,6 +61,6 @@ namespace StgSharp.Graphics.ShaderEdit
"Incorrect type \"Unknown\" defined in this self define type");
}
}
}
}//------------------------------------ End of Class ---------------------------------------
}
}