daily update on 20240213 by nitload youmu. 逐步弃用GLFW,正在使用wgl重写glfw底层,相关实现转移到C#实现,SSC彻底变成线性代数计算器。

This commit is contained in:
Nitload
2024-02-13 23:42:22 +08:00
parent 8391569482
commit a2241a5a58
307 changed files with 16701 additions and 10296 deletions
+1 -5
View File
@@ -14,7 +14,7 @@ namespace StgSharp.Graphics
/// Each <see langword="int"/> value indexed from instance of this class this
/// is the only handle to one Element Buffer Object.
/// </summary>
public unsafe class ElementBuffer : IBufferObject
public unsafe class ElementBuffer : BufferObjectBase
{
internal ElementBuffer(int n, IglFunc gl)
{
@@ -22,10 +22,6 @@ namespace StgSharp.Graphics
_bufferHandle = GL.GenBuffers(n);
}
public glHandle this[int n]
{
get { return _bufferHandle[n]; }
}
public override void Bind(int index)
{