introduce buffer target type
This commit is contained in:
parent
8a1497fb4f
commit
49b32d3f39
2 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,8 @@ void GPUFontAtlasLayerCombo::setup(const ComboIdentifier & identifier,
|
||||||
}
|
}
|
||||||
ofxGPUFont::initializeFont(library,
|
ofxGPUFont::initializeFont(library,
|
||||||
this->identifier.fontPath,
|
this->identifier.fontPath,
|
||||||
font);
|
font,
|
||||||
|
this->settings.bufferTargetType);
|
||||||
|
|
||||||
font->listFontVariationAxes(fontVariationAxesParameters, library);
|
font->listFontVariationAxes(fontVariationAxesParameters, library);
|
||||||
//cout << this->identifier.fontPath << " : fontVariationAxes :" << endl;
|
//cout << this->identifier.fontPath << " : fontVariationAxes :" << endl;
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
namespace ofxVariableLab {
|
namespace ofxVariableLab {
|
||||||
|
|
||||||
struct GPUFontAtlasLayerComboSettings : public AtlasLayerComboSettings {
|
struct GPUFontAtlasLayerComboSettings : public AtlasLayerComboSettings {
|
||||||
|
GLint bufferTargetType = GL_TEXTURE_2D_ARRAY;
|
||||||
};
|
};
|
||||||
class GPUFontAtlasLayerCombo : public AtlasLayerCombo {
|
class GPUFontAtlasLayerCombo : public AtlasLayerCombo {
|
||||||
struct Transform {
|
struct Transform {
|
||||||
|
|
Loading…
Reference in a new issue