introduce buffer target type

This commit is contained in:
jrkb 2023-05-29 09:51:24 +02:00
parent 8a1497fb4f
commit 49b32d3f39
2 changed files with 3 additions and 1 deletions

View file

@ -35,7 +35,8 @@ void GPUFontAtlasLayerCombo::setup(const ComboIdentifier & identifier,
}
ofxGPUFont::initializeFont(library,
this->identifier.fontPath,
font);
font,
this->settings.bufferTargetType);
font->listFontVariationAxes(fontVariationAxesParameters, library);
//cout << this->identifier.fontPath << " : fontVariationAxes :" << endl;

View file

@ -15,6 +15,7 @@
namespace ofxVariableLab {
struct GPUFontAtlasLayerComboSettings : public AtlasLayerComboSettings {
GLint bufferTargetType = GL_TEXTURE_2D_ARRAY;
};
class GPUFontAtlasLayerCombo : public AtlasLayerCombo {
struct Transform {