I may be wrong, but I think I remember StrageZak had similar issue. The problem is with deviceCont…
Hmmm alright, well I got it working just by continuing with the series... Turns out it wanted me t…
I am calling blitBackBuffer in... WM_PAINT, and in the main loop. } int CALLBACK WinMain(HINSTAN…
Where are you calling blitBackBuffer from? Where does it get deviceContext value? In initOpenGL fu…
Has anyone had the problem after day 235 (initializing openGL on Windows), where they initialize o…
Mox —
Good to see some other web developers on handmade network. I saw this video a week or so ago. And …
Thanks guys. Todd the reason I asked that is because I figure if I spend as much time learning the…
Mike T —
Thanks Taylor. Due to a busy period at work and now some problems with my machine at home, I haven…
Yeah, running should do the trick.
Berend —
I see I see, very valid arguments. I guess that I'm still thinking too much in terms of OOP and yo…
That is... unfortunate. Thanks for letting me know!
Neo Ar —
You'll probably need to remove this include statement and change code so it works without. Curren…
My guess would be on poorly written GPU drivers. And there's not much you can do about it. Once OS…
Because its longer to type. Compare "Game::GetState" vs "GameGetState" or "GetGameState" - 14 vs …
Newbie question! I'm only at day 30 and until now almost all functions are prefixed with 'Game' o…
Hi Berend. Not an answer to your question. I'm just informing you I'll be deleting the duplicate t…
Berend —
Hi there, Newbie question! I'm only at day 30 and until now almost all functions are prefixed with…
Nice, I will definitely preorder to get access to the repo. Thanks for the answer!
Any ideas what would make ChoosePixelFormat to take almost 2 seconds to call the first time? The o…
Todd —
rachet and mmozeiko, Very interesting! Thanks for the info/links. This doesn't surprise me at all.…
Thanks for clarifying this, Mārtiņš!
The end result looks roughly likes this (minus the printf's): #include static jmp_buf …
Exactly. Guarding against side-channel attacks is a very non trivial task. It requires not only go…
(though you really shouldn't code encryption yourself, there's too much that you can do wrong tha…
Yes, its an overkill. But if I remember correctly Casey stated that text rendering is only for deb…
At a guess I'd say that people invent new frameworks to address problems with old frameworks, but…
I am currently looking at how font rendering is implemented and it seems that we create a texture …
Yes! Yes and Yes! Thank you. I've been using __try/__catch extensively when calling out to hotswap…
Todd —
You should look into it. On the one hand it is some very high tech stuff, on the other hand it le…