Register
handmade.network »

Recent Forum Replies

Forum Handmade Hero
Post date Oct. 8, 2020, 8:21 a.m.

mmozeikoI checked in MSVC 2019 CRT - it does not call ExitProcess. WinMainCRTStartup is in "C:\P…
Forum Handmade Hero
Post date Oct. 8, 2020, 4:23 a.m.

The CRT normally calls ExitProcess for you after returning from main. If you don't call it yours…
Forum Handmade Hero
Post date Aug. 2, 2020, 10:57 p.m.

There is also a leak with bitmapMemory when resizing the window because the if statement on line …
Forum handmade.network
Post date June 8, 2020, 10:44 p.m.

The way these assert macros work is by using short-circuit evaluation and the comma operator. 1#…
Forum Code
Post date Feb. 26, 2020, 10:54 p.m.

Row always points to the start of the row, which is done by advancing it by the Pitch each time. …