1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

RenderingHelpers: Reduce templating of CachedGlyphEdgeTable

This commit is contained in:
reuk 2024-02-28 12:57:01 +00:00
parent a1b23c0248
commit f5017be881
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -322,12 +322,12 @@ private:
@tags{Graphics}
*/
template <class RendererType>
class CachedGlyphEdgeTable : public ReferenceCountedObject
{
public:
CachedGlyphEdgeTable() = default;
template <class RendererType>
void draw (RendererType& state, Point<float> pos) const
{
if (edgeTable != nullptr)
@ -2570,7 +2570,7 @@ public:
}
}
using GlyphCacheType = GlyphCache<CachedGlyphEdgeTable<SoftwareRendererSavedState>, SoftwareRendererSavedState>;
using GlyphCacheType = GlyphCache<CachedGlyphEdgeTable, SoftwareRendererSavedState>;
static void clearGlyphCache()
{