MVVM rebuild complete

This commit is contained in:
Nitload
2024-07-30 09:37:25 +08:00
parent da75200347
commit d082071f2d
68 changed files with 2690 additions and 762 deletions
+3 -2
View File
@@ -34,6 +34,7 @@ using StgSharp.Graphics;
using StgSharp.Graphics.OpenGL;
using StgSharp.Logic;
using StgSharp.Math;
using StgSharp.MVVM;
using System;
using System.Buffers;
@@ -116,7 +117,7 @@ namespace StgSharp.Stg
GL.FrameBufferTexture2d(FrameBufferTarget.All, glAttachment.Color(0),
Texture2DTarget.Texture2D, t[0], 0);
GL.CombineFrameBufferRenderBuffer(fbo[0], rbo[0]);
GL.CombineFrameBufferRenderBuffer(FrameBufferAttachment.Color, rbo[0]);
textureOutput = new float[this.Width];
}
@@ -180,7 +181,7 @@ namespace StgSharp.Stg
_coordStretch = (1, 1, 1);
PlatformSpecifiedInit();
PlatformSpecifiedInitialize();
CustomizeInit();
}
}
@@ -12,7 +12,7 @@ namespace StgSharp.Stg.Touhou
/*
public static View BuildTouhouWorld()
public static ViewBase BuildTouhouWorld()
{
TouhouForm form = new TouhouForm();