diff options
author | wm4 <wm4@nowhere> | 2016-05-17 10:45:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-17 10:45:01 +0200 |
commit | f00040b9fcc1be42963c70cd772da2360f3d9585 (patch) | |
tree | da9655a29e78673db28bc55d5840794001e2ead9 /sub | |
parent | 09763bef834785a0b3bfd7889daba4a5a54fde49 (diff) |
vo_opengl: make number of cached shaders/uniform dynamic
Use dynamic memory allocation, as the static allocation is starting to
get annoying.
Currently, SC_MAX_ENTRIES is essentially still a static upper limit on
the number of shaders. But in future we could try a more clever cache
replacement strategy, which does not keep stale entries forever if the
maximum happens not to be reached.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions