summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2019-10-11 08:00:37 -0400
committerDavid Thompson <dthompson2@worcester.edu>2019-10-11 08:00:37 -0400
commitc7974d6cf65e55327ca59b1c8f4db3d36729c4a5 (patch)
tree41cd4759dde55f507f3d28f523e750b77111e513 /COPYING
parente2ead85d6157299566e9aaaf0437a001aad7a6d9 (diff)
render: Introduce render context object.
Due to the declarative modules feature of Guile 2.9.4+, the existing technique of using one top-level variable per GL state was very broken because the initial values got cached at all call sites and state updates were being silently ignored and thus the game window was always a black screen. Not good! By replacing all of the state variables with a single "context" object and poking at fields inside, things work again and it's arguably the better design anyhow.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions