daily uodate on 20231215 by nitload youmu

This commit is contained in:
Nitload
2023-12-15 17:07:03 +08:00
parent 8b14599233
commit 659420aa6c
28 changed files with 32 additions and 29 deletions
+3 -3
View File
@@ -16,11 +16,11 @@ namespace StgSharp.Graphics
internal GLcontext glContext
{
get { return glRender.api; }
get { return RenderBuffer.GL.api; }
set
{
glUpdate.api = value;
glRender.api = value;
UpdateBuffer.GL.api = value;
RenderBuffer.GL.api = value;
}
}
@@ -10,6 +10,11 @@ namespace StgSharp.Graphics
internal unsafe partial class GLonRender : IglFunc
{
internal GLonRender(GLcontext context)
{
api = context;
}
internal GLcontext api;
[MethodImpl(MethodImplOptions.AggressiveInlining)]