(XDK D3D) Start dehardcoding tex_w / tex_h == 512