15 years, 2 months ago
Highlights
LRESULT CALLBACK GLContext::wProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpr){ switch(msg){ case WM_CLOSE: DestroyWindow(hwnd); break; case WM_CREATE: break; case WM_DESTROY…
15 years, 2 months ago
15 years, 2 months ago
I am creating a window for opengl, the window appears and disapears. I have checked what PeekMessage is getting, and it appears the first and only message is WM_QUIT. So the pro…
15 years, 2 months ago
The comparison is correct, and I am not posting any messages at all. No switch/case, its an if statement. Message loop looks like this: MSG msg; while(1){ if(PeekMessage(&ms…
15 years, 2 months ago
Latest Activity
LRESULT CALLBACK GLContext::wProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lpr){ switch(msg){ case WM_CLOSE: DestroyWindow(hwnd); break; case WM_CREATE: break; case WM_DESTROY: …
15 years, 2 months ago
The comparison is correct, and I am not posting any messages at all. No switch/case, its an if statement. Message …
15 years, 2 months ago
I am creating a window for opengl, the window appears and disapears. I have checked what PeekMessage is getting, and …
15 years, 2 months ago