Change to "aura" due to odd crasher in DrawCircle, at least on my machine/driver. Less precise, but perhaps more attractive.
authornemo
Sun, 14 Aug 2011 13:25:55 -0400
changeset 5560 d1ebcf4df330
parent 5559 a937d43a032f
child 5561 dfbe55237c64
Change to "aura" due to odd crasher in DrawCircle, at least on my machine/driver. Less precise, but perhaps more attractive.
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Sun Aug 14 20:53:52 2011 +0400
+++ b/hedgewars/uGearsRender.pas	Sun Aug 14 13:25:55 2011 -0400
@@ -602,7 +602,11 @@
                 amSMine: DrawRotated(sprHandSMine, hx, hy, sign, aangle);
                 amSeduction: begin
                              DrawRotated(sprHandSeduction, hx, hy, sign, aangle);
-                             DrawCircle(ox, oy, 248, 4, $FF, $00, $00, $AA); 
+                             // Crashes for some reason in glDrawArrays
+                             //DrawCircle(ox, oy, 248, 4, $FF, $00, $00, $AA); 
+                             Tint($FF, $0, $0, $AA);
+                             DrawTexture(ox - 240, oy - 240, SpritesData[sprVampiric].Texture, 10);
+                             Tint($FF, $FF, $FF, $FF);
                              end;
                 amVampiric: DrawRotatedF(sprHandVamp, hx, hy, (RealTicks div 125) mod 4, sign, aangle);
                 amRCPlane: begin