blob: 1c305e63974e339c4a58481758af0ea651b62b80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -ru gdl-0.9.9_old/src/magick_cl.cpp gdl-0.9.9/src/magick_cl.cpp
--- gdl-0.9.9_old/src/magick_cl.cpp 2018-12-01 15:19:52.000000000 +0100
+++ gdl-0.9.9/src/magick_cl.cpp 2021-02-15 07:54:39.271235632 +0100
@@ -65,6 +65,10 @@
unsigned int gValid[40];
unsigned int gCount = 0;
static bool notInitialized = true;
+
+ __attribute__((constructor)) static void init(void) {
+ START_MAGICK;
+ }
void magick_setup() {
int i;
|