mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'do-trace-shaders' setting and fix shaders recompiling
This commit is contained in:
parent
5e3373313b
commit
a621b179d3
10 changed files with 84 additions and 26 deletions
|
|
@ -143,6 +143,12 @@ void Engine::initializeClient() {
|
|||
},
|
||||
true
|
||||
));
|
||||
keepAlive(settings.debug.doTraceShaders.observe(
|
||||
[](bool value) {
|
||||
Shader::preprocessor->setTraceOutput(value);
|
||||
},
|
||||
true
|
||||
));
|
||||
}
|
||||
|
||||
void Engine::initialize(CoreParameters coreParameters) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue