summaryrefslogtreecommitdiff
path: root/navit/graphics/opengl/graphics_opengl.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/graphics/opengl/graphics_opengl.c')
-rw-r--r--navit/graphics/opengl/graphics_opengl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/graphics/opengl/graphics_opengl.c b/navit/graphics/opengl/graphics_opengl.c
index da82cd107..98230f0dc 100644
--- a/navit/graphics/opengl/graphics_opengl.c
+++ b/navit/graphics/opengl/graphics_opengl.c
@@ -1440,7 +1440,7 @@ static struct graphics_priv *
graphics_opengl_new_helper(struct graphics_methods *meth)
{
struct font_priv *(*font_freetype_new) (void *meth);
- font_freetype_new = plugin_get_font_type("freetype");
+ font_freetype_new = plugin_get_category_font("freetype");
if (!font_freetype_new) {
return NULL;
@@ -1817,6 +1817,6 @@ event_opengl_new(struct event_methods *meth)
void
plugin_init(void)
{
- plugin_register_graphics_type("opengl", graphics_opengl_new);
- plugin_register_event_type("opengl", event_opengl_new);
+ plugin_register_category_graphics("opengl", graphics_opengl_new);
+ plugin_register_category_event("opengl", event_opengl_new);
}