daily update on 20240528 by nitload youmu
This commit is contained in:
@@ -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 ---------------------------------------
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user