Ship with a custom blendish.c so we can place fixes on it
This commit is contained in:
parent
b554380422
commit
ccb97ee618
4 changed files with 1228 additions and 11 deletions
2
dpf
2
dpf
|
@ -1 +1 @@
|
|||
Subproject commit d9e856141a3f34618b03080a9541cc70e8c7210e
|
||||
Subproject commit ef69eba593298b90eb433493470a1ba4c0f1c0bf
|
|
@ -88,6 +88,7 @@ BUILD_CXX_FLAGS += -DnsvgParseFromFile=nsvgParseFromFileCardinal
|
|||
|
||||
RACK_FILES += AsyncDialog.cpp
|
||||
RACK_FILES += CardinalModuleWidget.cpp
|
||||
RACK_FILES += override/blendish.c
|
||||
RACK_FILES += override/Engine.cpp
|
||||
RACK_FILES += override/MenuBar.cpp
|
||||
RACK_FILES += override/Scene.cpp
|
||||
|
@ -101,7 +102,6 @@ RACK_FILES += override/osdialog.cpp
|
|||
RACK_FILES += Rack/dep/pffft/pffft.c
|
||||
RACK_FILES += Rack/dep/pffft/fftpack.c
|
||||
RACK_FILES += Rack/dep/osdialog/osdialog.c
|
||||
RACK_FILES += Rack/dep/oui-blendish/blendish.c
|
||||
|
||||
IGNORED_FILES = Rack/src/asset.cpp
|
||||
IGNORED_FILES += Rack/src/common.cpp
|
||||
|
|
1226
src/override/blendish.c
Normal file
1226
src/override/blendish.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -22,15 +22,6 @@
|
|||
|
||||
#include "nanovg.h"
|
||||
|
||||
// fix blendish build, missing symbol in debug mode
|
||||
#ifndef NDEBUG
|
||||
extern "C" {
|
||||
float bnd_clamp(float v, float mn, float mx) {
|
||||
return (v > mx)?mx:(v < mn)?mn:v;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// fix bogaudio build, another missing symbol
|
||||
#ifndef NDEBUG
|
||||
namespace bogaudio {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue