aboutsummaryrefslogtreecommitdiff
path: root/games/xmoto/files/patch-src-VTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/xmoto/files/patch-src-VTexture.h')
-rw-r--r--games/xmoto/files/patch-src-VTexture.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/xmoto/files/patch-src-VTexture.h b/games/xmoto/files/patch-src-VTexture.h
new file mode 100644
index 000000000000..9932bfe4962d
--- /dev/null
+++ b/games/xmoto/files/patch-src-VTexture.h
@@ -0,0 +1,11 @@
+--- src/VTexture.h.orig 2011-10-12 00:18:35.000000000 +0400
++++ src/VTexture.h 2014-11-24 22:08:42.749026473 +0300
+@@ -135,7 +135,7 @@
+
+ void cleanUnregistredTextures();
+
+- HashNamespace::hash_map<const char*, int*, HashNamespace::hash<const char*>, hashcmp_str> m_textureSizeCache;
++ HashNamespace::hash_map<std::string, int*> m_textureSizeCache;
+ std::vector<std::string> m_textureSizeCacheKeys;
+ std::vector<int*> m_textureSizeCacheValues;
+