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:
parent
a1b23c0248
commit
f5017be881
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue