Fix for Hyllian's 'warp' shaders on AMD/ATi cards and remove redundant calculation from Sp00kyFox's gdapt