missed two (nw)

This commit is contained in:
Cowering 2015-12-06 14:01:59 -06:00
parent 418d057e97
commit b910bf5a85
2 changed files with 8 additions and 8 deletions

View File

@ -135,7 +135,7 @@ template<typename _src_type, typename _dest_type, typename _op, int _len_div>
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<typename _src_type, typename _dest_type, typename _op>
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<typename _src_type, typename _dest_type>
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
{
}
};

View File

@ -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)