Fix texture loader for RPi