summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Wey2011-11-03 20:19:34 +0100
committerMike Wey2011-11-03 20:19:34 +0100
commit7bd0accc1fa10f6f2265c93ad360bd002fbd5e33 (patch)
treeac096c1f52be48c0bfb28431b6925fc170a204dc
parenteb530f26795da2a689f6e3ef378a49fe4652d720 (diff)
Remove the module constructor, it currently causes access violations when using WinMain.
-rw-r--r--dmagick/Image.d17
1 files changed, 0 insertions, 17 deletions
diff --git a/dmagick/Image.d b/dmagick/Image.d
index 54de412..5497e40 100644
--- a/dmagick/Image.d
+++ b/dmagick/Image.d
@@ -4270,20 +4270,3 @@ class Image
assert( storage == StorageType.IntegerPixel );
}
}
-
-/*
- * Initialize ImageMagick, only needed on Windows.
- */
-version (Windows)
-{
- shared static this()
- {
- MagickCoreGenesis(toStringz(Runtime.args[0]) , false);
- }
-
- shared static ~this()
- {
- MagickCoreTerminus();
- }
-}
-