Fixes bug #2666. The previous patches should allow performance to be adequate.<br><br>This was tested with Age of Empires Trial running on Intel T6600 @ 2.2 Ghz with an ATI Radon 4850 with radeonhd driver version 
              
                1.3.0+git20100104.cc1bb50b