http://bugs.winehq.org/show_bug.cgi?id=15786
--- Comment #3 from H. Verbeet hverbeet@gmail.com 2008-10-26 17:16:57 --- Created an attachment (id=16910) --> (http://bugs.winehq.org/attachment.cgi?id=16910) patch
How does this work? Your hack is essentially correct, in that it doesn't make sense to project cube textures. Dividing by the 4th coordinate would make no difference, since the coordinates are divided by the major axis value before being used.