OpenGL测试

This commit is contained in:
小红帽
2023-11-29 10:59:22 +08:00
parent 4862d41d13
commit ae42978590
7 changed files with 219 additions and 30 deletions

View File

@@ -807,6 +807,7 @@ namespace CPF.Windows
}
break;
case WindowsMessage.WM_DESTROY:
Closed?.Invoke();
if (handle != IntPtr.Zero)
{
try
@@ -857,7 +858,6 @@ namespace CPF.Windows
RenderBitmap = null;
}
handle = IntPtr.Zero;
Closed?.Invoke();
foreach (var item in invokeQueue)
{
item.SendOrPostCallback(item.Data);