]> git.tdb.fi Git - libs/gl.git/commit
Simplify Program by removing transient data
authorMikko Rasa <tdb@tdb.fi>
Sat, 29 Jan 2022 12:09:01 +0000 (14:09 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 29 Jan 2022 12:23:55 +0000 (14:23 +0200)
commit89347a620294a1136ee111edeadec68390654f78
treeec2e2707adc638ac44a9e85db17b231cfe45fd2b
parente9d24b3844110f8a545083bb0acbc504737aca88
Simplify Program by removing transient data

After some earlier refactorings it was only used on one code path, so
those variables are now directly declared where they're needed.
source/backends/opengl/program_backend.cpp
source/backends/opengl/program_backend.h
source/backends/vulkan/program_backend.cpp
source/backends/vulkan/program_backend.h
source/core/program.cpp