Remove RenderBackend_FlushGlyphs
No longer used for anything
This commit is contained in:
parent
daa55b1a3c
commit
63e4ac9aa9
7 changed files with 0 additions and 28 deletions
|
@ -29,6 +29,5 @@ void RenderBackend_DestroyGlyphAtlas(RenderBackend_GlyphAtlas *atlas);
|
|||
void RenderBackend_UploadGlyph(RenderBackend_GlyphAtlas *atlas, size_t x, size_t y, const unsigned char *pixels, size_t width, size_t height);
|
||||
void RenderBackend_PrepareToDrawGlyphs(RenderBackend_GlyphAtlas *atlas, RenderBackend_Surface *destination_surface, unsigned char red, unsigned char green, unsigned char blue);
|
||||
void RenderBackend_DrawGlyph(RenderBackend_GlyphAtlas *atlas, long x, long y, size_t glyph_x, size_t glyph_y, size_t glyph_width, size_t glyph_height);
|
||||
void RenderBackend_FlushGlyphs(void);
|
||||
void RenderBackend_HandleRenderTargetLoss(void);
|
||||
void RenderBackend_HandleWindowResize(size_t width, size_t height);
|
||||
|
|
|
@ -1009,11 +1009,6 @@ void RenderBackend_DrawGlyph(RenderBackend_GlyphAtlas *atlas, long x, long y, si
|
|||
}
|
||||
}
|
||||
|
||||
void RenderBackend_FlushGlyphs(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
///////////
|
||||
// Misc. //
|
||||
///////////
|
||||
|
|
|
@ -277,11 +277,6 @@ void RenderBackend_DrawGlyph(RenderBackend_GlyphAtlas *atlas, long x, long y, si
|
|||
Backend_PrintError("Couldn't blit glyph indivual surface to final glyph surface: %s", SDL_GetError());
|
||||
}
|
||||
|
||||
void RenderBackend_FlushGlyphs(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void RenderBackend_HandleRenderTargetLoss(void)
|
||||
{
|
||||
// No problem for us
|
||||
|
|
|
@ -432,11 +432,6 @@ void RenderBackend_DrawGlyph(RenderBackend_GlyphAtlas *atlas, long x, long y, si
|
|||
Backend_PrintError("Couldn't copy glyph texture portion to renderer: %s", SDL_GetError());
|
||||
}
|
||||
|
||||
void RenderBackend_FlushGlyphs(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void RenderBackend_HandleRenderTargetLoss(void)
|
||||
{
|
||||
for (RenderBackend_Surface *surface = surface_list_head; surface != NULL; surface = surface->next)
|
||||
|
|
|
@ -328,11 +328,6 @@ void RenderBackend_DrawGlyph(RenderBackend_GlyphAtlas *atlas, long x, long y, si
|
|||
}
|
||||
}
|
||||
|
||||
void RenderBackend_FlushGlyphs(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void RenderBackend_HandleRenderTargetLoss(void)
|
||||
{
|
||||
// No problem for us
|
||||
|
|
|
@ -873,11 +873,6 @@ void RenderBackend_DrawGlyph(RenderBackend_GlyphAtlas *atlas, long x, long y, si
|
|||
}
|
||||
}
|
||||
|
||||
void RenderBackend_FlushGlyphs(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void RenderBackend_HandleRenderTargetLoss(void)
|
||||
{
|
||||
// Doesn't happen on the Wii U
|
||||
|
|
|
@ -1167,8 +1167,6 @@ void DrawText(Font *font, RenderBackend_Surface *surface, int x, int y, unsigned
|
|||
pen_x += glyph->x_advance;
|
||||
}
|
||||
}
|
||||
|
||||
RenderBackend_FlushGlyphs();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue