disable elf texture lookup hack
This commit is contained in:
parent
a54657e7be
commit
20394eed6c
@ -462,7 +462,7 @@ void textures_update_atlas(TextureCache *cache) {
|
||||
}
|
||||
|
||||
/* EXPERIMANTAL: LIKELY TO BE REMOVED! */
|
||||
#if defined(__linux__) /* use rodata elf section for fast lookups of repeating textures */
|
||||
#if defined(__linux_x_) /* use rodata elf section for fast lookups of repeating textures */
|
||||
|
||||
#include "system/linux/twn_elf.h"
|
||||
|
||||
@ -628,7 +628,7 @@ size_t textures_get_num_atlases(const TextureCache *cache) {
|
||||
}
|
||||
|
||||
void textures_reset_state(void) {
|
||||
#if defined(__linux__) && !defined(HOT_RELOAD_SUPPORT)
|
||||
#if defined(__linux__x) && !defined(HOT_RELOAD_SUPPORT)
|
||||
last_path = NULL;
|
||||
last_texture = (TextureKey){0};
|
||||
shfree(ptr_to_texture);
|
||||
|
Loading…
Reference in New Issue
Block a user