summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
authorGravatarGravatar MooglyGuy <therealmogminer@gmail.com>2019-11-24 15:40:14 +0100
committerGravatarGravatar MooglyGuy <therealmogminer@gmail.com>2019-11-24 15:40:28 +0100
commit4cccc0183cef3dc959500d708256d18a98a62c46 (patch)
tree0c982d0df6032ded138b018070c52868b2df5e59 /src/emu
parent19a09406a63005cc470695684a57a6e4e36196cb (diff)
-bgfx: Fixed Github issues #5830 and #5956. [Ryan Holtz]
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/render.cpp b/src/emu/render.cpp
index 55340803345..f20650fb4be 100644
--- a/src/emu/render.cpp
+++ b/src/emu/render.cpp
@@ -697,7 +697,7 @@ const rgb_t *render_container::bcg_lookup_table(int texformat, u32 &out_length,
case TEXFORMAT_RGB32:
case TEXFORMAT_ARGB32:
case TEXFORMAT_YUY16:
- out_length = 256;
+ out_length = ARRAY_LENGTH(m_bcglookup256);
return m_bcglookup256;
default: