summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-03-20 12:52:45 +0100
committer hap <happppp@users.noreply.github.com>2024-03-20 17:07:48 +0100
commitc5662d1fff23747e7a966c9c19090561c2658ba4 (patch)
treecde9332c79a992ef10e4f62381cca9861b9dfbb2 /src/osd
parent3a83fc2532035cb4dff8442c8b1854b608ebd00f (diff)
drawogl: increase texture hashtable size (emirage/robotadv were crashing with opengl renderer)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/render/drawogl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/render/drawogl.cpp b/src/osd/modules/render/drawogl.cpp
index bc7fcf9a959..f9f76946bf4 100644
--- a/src/osd/modules/render/drawogl.cpp
+++ b/src/osd/modules/render/drawogl.cpp
@@ -316,8 +316,8 @@ public:
#endif
private:
- static const uint32_t HASH_SIZE = ((1 << 10) + 1);
- static const uint32_t OVERFLOW_SIZE = (1 << 10);
+ static const uint32_t HASH_SIZE = ((1 << 18) + 1);
+ static const uint32_t OVERFLOW_SIZE = (1 << 12);
void destroy_all_textures();