From b910bf5a8559485ce5882b4c414e38db33b30dd0 Mon Sep 17 00:00:00 2001 From: Cowering Date: Sun, 6 Dec 2015 14:01:59 -0600 Subject: [PATCH] missed two (nw) --- src/osd/modules/render/blit13.h | 6 +++--- src/osd/modules/render/drawsdl.cpp | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/osd/modules/render/blit13.h b/src/osd/modules/render/blit13.h index 5ed04bb3862..f199fc0f2ea 100644 --- a/src/osd/modules/render/blit13.h +++ b/src/osd/modules/render/blit13.h @@ -135,7 +135,7 @@ template struct blit_texcopy : public blit_base { blit_texcopy() : blit_base(sizeof(_dest_type) / _len_div, false, false) { } - void texop(const texture_info *texture, const render_texinfo *texsource) const + void texop(const texture_info *texture, const render_texinfo *texsource) const override { ATTR_UNUSED const rgb_t *palbase = texsource->palette; int x, y; @@ -162,7 +162,7 @@ template struct blit_texrot : public blit_base { blit_texrot() : blit_base(sizeof(_dest_type), true, false) { } - void texop(const texture_info *texture, const render_texinfo *texsource) const + void texop(const texture_info *texture, const render_texinfo *texsource) const override { ATTR_UNUSED const rgb_t *palbase = texsource->palette; int x, y; @@ -195,7 +195,7 @@ template struct blit_texpass : public blit_base { blit_texpass() : blit_base(sizeof(_dest_type), false, true) { } - void texop(const texture_info *texture, const render_texinfo *texsource) const + void texop(const texture_info *texture, const render_texinfo *texsource) const override { } }; diff --git a/src/osd/modules/render/drawsdl.cpp b/src/osd/modules/render/drawsdl.cpp index afd2057e0c5..ed3c73af73d 100644 --- a/src/osd/modules/render/drawsdl.cpp +++ b/src/osd/modules/render/drawsdl.cpp @@ -69,11 +69,11 @@ public: m_last_dim(0, 0) { } - /* virtual */ int create(); - /* virtual */ int draw(const int update); - /* virtual */ int xy_to_render_target(const int x, const int y, int *xt, int *yt); - /* virtual */ void destroy(); - /* virtual */ render_primitive_list *get_primitives() + /* virtual */ int create() override; + /* virtual */ int draw(const int update) override; + /* virtual */ int xy_to_render_target(const int x, const int y, int *xt, int *yt) override; + /* virtual */ void destroy() override; + /* virtual */ render_primitive_list *get_primitives() override { osd_dim nd = window().blit_surface_size(); if (nd != m_blit_dim)