From c9b6c202209eaaae1a57e5a99d52702e497ba1a4 Mon Sep 17 00:00:00 2001 From: Elias Batek Date: Wed, 27 Dec 2023 17:04:32 +0100 Subject: [PATCH] Rename PixelRenderer to PixmapRenderer --- pixmappresenter.d | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pixmappresenter.d b/pixmappresenter.d index 0985b69..52dfbe3 100644 --- a/pixmappresenter.d +++ b/pixmappresenter.d @@ -441,7 +441,7 @@ struct WantsOpenGl { } /// -interface PixelRenderer { +interface PixmapRenderer { /++ Does this renderer use OpenGL? @@ -487,7 +487,7 @@ interface PixelRenderer { } /// -final class OpenGL3PixelRenderer : PixelRenderer { +final class OpenGl3PixmapRenderer : PixmapRenderer { private { PresenterObjects* _pro; @@ -748,7 +748,7 @@ final class PixmapPresenter { private { PresenterObjects* _pro; - PixelRenderer _renderer; + PixmapRenderer _renderer; static if (hasTimer) { Timer _timer; @@ -761,14 +761,14 @@ final class PixmapPresenter { /// this(const PresenterConfig config, bool useOpenGl = true) { if (useOpenGl) { - this(config, new OpenGL3PixelRenderer()); + this(config, new OpenGl3PixmapRenderer()); } else { assert(false, "Not implemented"); } } /// - this(const PresenterConfig config, PixelRenderer renderer) { + this(const PresenterConfig config, PixmapRenderer renderer) { _renderer = renderer; // create software framebuffer