summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-08-27 01:30:08 +1000
committer Vas Crabb <vas@vastheman.com>2018-08-27 01:30:08 +1000
commitc87777a0155f20c48e1f313814dbefac4bba0ef4 (patch)
tree2a4c321f9da1a3ec52670439cb92536477daea3a /src/emu
parent8105b735482ab55b342578f3c4ab1e3c75c41942 (diff)
fixup (nw)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/render.cpp2
-rw-r--r--src/emu/render.h10
2 files changed, 5 insertions, 7 deletions
diff --git a/src/emu/render.cpp b/src/emu/render.cpp
index 8c743e9a6a6..e3071d5f9f4 100644
--- a/src/emu/render.cpp
+++ b/src/emu/render.cpp
@@ -622,10 +622,8 @@ void render_container::set_overlay(bitmap_argb32 *bitmap)
m_overlaybitmap = bitmap;
if (m_overlaybitmap != nullptr)
{
- printf("Allocating overlay\n");
m_overlaytexture = m_manager.texture_alloc(render_container::overlay_scale);
m_overlaytexture->set_bitmap(*bitmap, bitmap->cliprect(), TEXFORMAT_ARGB32);
- printf("Done allocating overlay\n");
}
}
diff --git a/src/emu/render.h b/src/emu/render.h
index 6819fb6efed..9660b8fc71f 100644
--- a/src/emu/render.h
+++ b/src/emu/render.h
@@ -215,8 +215,8 @@ struct render_texinfo
u32 width; // width of the image
u32 height; // height of the image
u32 seqid; // sequence ID
- u64 unique_id; // unique identifier to pass to osd
- u64 old_id; // previously allocated id, if applicable
+ u64 unique_id; // unique identifier to pass to osd
+ u64 old_id; // previously allocated id, if applicable
const rgb_t * palette; // palette for PALETTE16 textures, bcg lookup table for RGB32/YUY16
};
@@ -468,8 +468,8 @@ private:
bitmap_t * m_bitmap; // pointer to the original bitmap
rectangle m_sbounds; // source bounds within the bitmap
texture_format m_format; // format of the texture data
- u64 m_id; // unique id to pass to osd
- u64 m_old_id; // previous id, if applicable
+ u64 m_id; // unique id to pass to osd
+ u64 m_old_id; // previous id, if applicable
// scaling state (ARGB32 only)
texture_scaler_func m_scaler; // scaling callback
@@ -1183,7 +1183,7 @@ private:
// texture lists
u32 m_live_textures; // number of live textures
- u64 m_texture_id; // rolling texture ID counter
+ u64 m_texture_id; // rolling texture ID counter
fixed_allocator<render_texture> m_texture_allocator;// texture allocator
// containers for the UI and for screens