After rewriting and going over the allocation functions, I get back on finding the cause of the flickering bug. Once that's done, I work on some other bugs that I have ignored for a few days.
00:00 - Start
7:08 - Root cause of the flickering
20:38 - Tkap1 suggests spinlocking on the jobs queue
30:10 - What is RemedyBG?
39:00 - Explanation of what is causing the bug
41:50 - Temporary fix
1:00:20 - Arena push size issue
1:24:05 - Comparing to just 1 worker thread
2:05:00 - glViewport / orthographic projection issue
2:20:12 - Combining input data and putting it on the queue
2:30:41 - Getting Window/Client rect for the hover position
2:33:30 - Trying to add back Destroy_All functions to clear the UI
2:48:44 - Finding a rogue Entity with ID = 0 causing issues
https://timpz.tv
FAQ:
What are your tools?
- VSCodium, RemedyBG, LLVM, Clangd, Emscripten
What's that theme?
- Synthwave '84
Is the code public?
- https://gitlab.com/timpz
What are your dependencies?
- HandmadeMath.h, kb_text_shape.h, stb_truetype.h, GLEW/OpenGL & Emscripten/WebGL
Download
0 formats
No download links available.
Multiplatform C game engine from scratch | Day 61 [Queue Bugfixing] | NatokHD