Implement pImpl pattern for KRContext/Context, fix crash in KRDataBlock

This commit is contained in:
Kearwood Kip Gilbert
2019-07-14 15:18:48 -07:00
parent 891bb18b10
commit 3be32926b9
4 changed files with 58 additions and 6 deletions

View File

@@ -7,6 +7,8 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
Context* context = Context::Get();
MSG msg = { 0 };
WNDCLASS wc = { 0 };
wc.lpfnWndProc = WndProc;