Lots of stuff

This commit is contained in:
elasota
2019-11-11 00:11:59 -05:00
parent 49a35bb15b
commit c8472f7295
406 changed files with 58313 additions and 88 deletions

17
GpD3D/GpFiber_Win32.cpp Normal file
View File

@@ -0,0 +1,17 @@
#include "GpFiber_Win32.h"
GpFiber_Win32::GpFiber_Win32(LPVOID fiber)
: m_fiber(fiber)
{
}
void GpFiber_Win32::YieldTo()
{
SwitchToFiber(m_fiber);
}
void GpFiber_Win32::Destroy()
{
DeleteFiber(m_fiber);
delete this;
}