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.
Simon Anciaux
On line 37 you are creating a local variable called "BitmapInfo", but what you want to do is to m…
»
Taylor Robbins
I believe he means that you would just have a single VBO on the OpenGL side that is large enough …
»
Taylor Robbins
After testing some stuff with with virtual functions in classes I think I understand the problem …
»
logan bender
Hi, new to the forums as well as c graphics programming on windows. I've been following HMH with …
»
Oliver Marsh
thanks martins, when you say use one buffer for everything does that mean one vbo is shared with …
»
Mārtiņš Možeiko
Yes, glBufferData internally allocates new memory and uploads data to this place. Old memory is k…
»
Oliver Marsh
I am doing instancing in opengl using vbos to store the per frame data (like matrix, color tint, …
»
Flyingsand
ratchetfreakit's a member-by-member copy so it may as well be removed. Yeah, that's true. I actua…
»
ratchetfreak
it's a member-by-member copy so it may as well be removed.
»
Mārtiņš Možeiko
Typically mark-and-sweep collectors like this does compacting after scanning of heaps. So there i…
»
Mārtiņš Možeiko
OP has custom copy operator in Timer class. That means he needs to implement move assignment/cons…
»
ratchetfreak
sounds like a tradeoff between per-object overhead and false positives of an dead value in an liv…
»
ratchetfreak
mmozeikoMove construction is as easy as that only if you correctly implement actual move construc…
»
Mārtiņš Možeiko
Did you change -Od to -O2 to enable compiler optimizations?
»
nephewtom
mrmixerI just look at the recent version of the code and there is a way by default to search for …
»
Cristián Donoso
Hey everyone, I downloaded the source/assets for the first time. It compiled fine and took its …
»
Oliver Marsh
Agree very nice post, maybe could put it in the wiki as a reference?
»
bewwys
Basically, it has a minor heap and major heap where objects are deallocated in blocks. Objects ha…
»
Mārtiņš Možeiko
Move construction is as easy as that only if you correctly implement actual move constructor and …
»
ratchetfreak
move construction is as easy as: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15template <typena…
»
Flyingsand
Ah! Data alignment.. I should have thought of that. I've dealt with this issue many times before,…
»
Mārtiņš Možeiko
What is rbx value on that second screenshot? If it is not 16 byte aligned, then your issue may be…
»
Flyingsand
No, the crash does not happen across DLL reload. It's during the same session. I have spent a fai…
»
Dan Zaidan
Hi Simon! Thanks for your observations. I suppose I really have to read more digital signal proce…
»
Mārtiņš Možeiko
std::function does not copy executable code. That would be too much overhead and would not work o…
»
Flyingsand
Hello. I have an issue where I get a crash when starting a custom-built timer for my game, but …
»
Simon Anciaux
1if (next_sample > sound->sound->sample_count) next_sample-= sound->sound->sample_…
»
Dan Zaidan
Hello everybody! I'm creating a new game (from scratch again, but this time on a live stream... …
»
Dan Zaidan
Such a nice post. Thanks!
»
Simon Anciaux
I just look at the recent version of the code and there is a way by default to search for the las…
»