diff trunk/chipmunkd/constraints/cpConstraint.d @ 28:4541ca17975b

use __gshared as chipmunk heavily relies on globals and D would otherwise make them TLS
author Extrawurst
date Mon, 13 Dec 2010 21:40:56 +0100
parents df4ebc8add66
children
line wrap: on
line diff
--- a/trunk/chipmunkd/constraints/cpConstraint.d	Mon Dec 13 21:24:12 2010 +0100
+++ b/trunk/chipmunkd/constraints/cpConstraint.d	Mon Dec 13 21:40:56 2010 +0100
@@ -95,7 +95,7 @@
 public import chipmunkd.constraints.cpSimpleMotor;
 
 
-cpFloat cp_constraint_bias_coef = 0.1f;
+__gshared cpFloat cp_constraint_bias_coef = 0.1f;
 
 void cpConstraintDestroy(cpConstraint *constraint){}