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