mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 20:39:41 -07:00
switch to martins hash
This commit is contained in:
1 parent
7eb64dbd13
commit
96477c65dd
11 files changed
+1913
-590
No files matched your search
@@ -4024,12 +4024,14 @@ RD_VIEW_UI_FUNCTION_DEF(bitmap)
|
||||
for EachIndex(rewind_idx, C_KEY_HASH_HISTORY_COUNT)
|
||||
{
|
||||
U128 hash = c_hash_from_key(texture_key, rewind_idx);
|
||||
#pragma pack(push, 1)
|
||||
struct
|
||||
{
|
||||
U128 hash;
|
||||
RD_BitmapTopology top;
|
||||
}
|
||||
key_data = {hash, topology};
|
||||
#pragma pack(pop)
|
||||
String8 key = str8_struct(&key_data);
|
||||
AC_Artifact artifact = ac_artifact_from_key(access, key, rd_bitmap_artifact_create, rd_bitmap_artifact_destroy, 0);
|
||||
R_Handle texture_candidate = {0};
|
||||
|
||||
Reference in new issue
Block a user