diff trunk/chipmunkd/cpPolyShape.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 4ceef5833c8c
children
line wrap: on
line diff
--- a/trunk/chipmunkd/cpPolyShape.d	Mon Dec 13 21:24:12 2010 +0100
+++ b/trunk/chipmunkd/cpPolyShape.d	Mon Dec 13 21:40:56 2010 +0100
@@ -195,7 +195,7 @@
 	}
 }
 
-static /+const+/ cpShapeClass polyClass = {
+__gshared /+const+/ cpShapeClass polyClass = {
 	cpShapeType.CP_POLY_SHAPE,
 	&cpPolyShapeCacheData,
 	&cpPolyShapeDestroy,