Skip window screenshots and glBars module if using GLES

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-07-05 16:17:48 +01:00
parent 8bc997f2d3
commit d5f5e57e78
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 20 additions and 2 deletions

View file

@ -890,7 +890,6 @@ static void initStatic__Cardinal()
p->addModel(modelCardinalBlank);
p->addModel(modelExpanderInputMIDI);
p->addModel(modelExpanderOutputMIDI);
p->addModel(modelGlBars);
p->addModel(modelHostAudio2);
p->addModel(modelHostAudio8);
p->addModel(modelHostCV);
@ -902,6 +901,11 @@ static void initStatic__Cardinal()
p->addModel(modelHostParametersMap);
p->addModel(modelHostTime);
p->addModel(modelTextEditor);
#ifndef DGL_USE_GLES
p->addModel(modelGlBars);
#else
spl.removeModule("glBars");
#endif
#ifndef STATIC_BUILD
p->addModel(modelAudioFile);
p->addModel(modelCarla);