merged changes to revision 24446
[blender.git] / source / creator / creator.c
index 84e6eed9278810f902440129424e0443e9f9e569..d273d786939ba710264ca1da033e7487ad427589 100644 (file)
@@ -82,6 +82,8 @@
 #include "GPU_draw.h"
 #include "GPU_extensions.h"
 
+#include "FRS_freestyle.h"
+
 /* for passing information between creator and gameengine */
 #include "SYS_System.h"
 
@@ -546,6 +548,10 @@ int main(int argc, char **argv)
                printf("Example: setenv BF_TIFF_LIB /usr/lib/libtiff.so\n");
        }
 
+       /* initialize Freestyle */
+       FRS_initialize();
+       FRS_set_context(C);
+
        /* OK we are ready for it */
 
        for(a=1; a<argc; a++) {