fix texture load macro