We are currently in the process of converting the website to the new design. Some pages, like this one, are still broken. We appreciate your patience.
Ryan —
I changed result to but I still get the same invalid memory.
»
Mārtiņš Možeiko —
Your variable is 32-bit int. Syscall returns result in rax register which is 64-bit. It probably …
»
Ryan —
I seem to have encountered an issue with qemu memory allocation. void *sys_result = (void *)((u64…
»
Jeff Knox —
I really wanted to like Zig, mainly because it seemed simpler than all the fad C-killer languages …
»
Dawoodoz —
If you define a subset of functions that can only have fully defined operations without global var…
»
C_Worm —
Allright big thanks! I also found a small bug in the naming of variables in the shader, but now it…
»
Simon Anciaux —
I'm rusty about all the OpenGL setup, but here are some things you may want to check:The values fo…
»
C_Worm —
Hi! Im trying to use two VBO's, one for sprites and one for font/text rendering. However the glDra…
»
spx —
I just checked on windows 7 and the problem happens for me as well. From what I have gathered so f…
»
Koen —
Getting told to shut down a process is kind of like getting told to chop down a tree. Making a sin…
»
Dawoodoz —
An operating system can just remap memory pages to extend a continuous space of virtual memory add…
»
ratchetfreak —
lets take a worst case scenario: A big RAM hungry process that has been up for most of the day and…
»
Kidzor —
In the above article by Raymond Chen, he mentions how when a process exits, it is better to let t…
»
Ryan —
Thank you for sharing that. Viewing it like that demystified the complexities of linking (disregar…
»
Marc Costa —
No, he doesn't. You can take a look at Episode 88: Push Buffer Rendering and 89: Renderer Push Buf…
»
C_Worm —
Hi! Im wondering if casey, when he implements OpenGL core (3.3 and greater) stores vertex informat…
»
Mārtiņš Možeiko —
If you want to dynamically load your own .so files without depending on system .so files then you …
»
Ryan —
Ah I see. Informative as always Mārtiņš. Sorry to bother you with something unrelated: How woul…
»
Mārtiņš Možeiko —
Including other files in anonymous namespace is OK as long as you understand that you cannot put s…
»
poe —
I too was not really digging the clutter of having "static" (or internal) in front of literally e…
»
Ben Visness —
Hello everyone! It's been a busy couple months around the network and we've got lots of exciting n…
»
Simon Anciaux —
Could you share your code (and build script) so we could have a look ? What OS and what graphics c…
»
Dawoodoz —
If one uses exclusive full-screen to lower the screen resolution, the GPU drivers might add an add…
»
Mārtiņš Možeiko —
That only lists usable memory that is not taken by any other device. Not total memory of system. M…
»
Ryan —
Thanks for the information regarding the use-cases for linux headers. Follow up questions regardin…
»
Mārtiņš Možeiko —
Haven't looked in detail, but that probably also includes there count of currently running kernel …
»
Ryan —
You're right about the include paths. My mistake. I'm not building a kernel module. I'm making var…
»
Mārtiņš Možeiko —
I'm pretty sure doing will make include too look in location first, and only then in other stan…
»
bolonie —
Hi guys. I've been following Handmade Hero, and I started playing with OpenGL off to the side. I h…
»
Ryan —
On Ubuntu 20.04, will install relevent kernel headers to To use with gcc, do a and inside of a …
»