utils/mojoshader-compiler.c
changeset 686 021241f2a237
parent 673 4b14154df11b
child 688 29ee34e66161
--- a/utils/mojoshader-compiler.c	Mon Feb 23 17:39:30 2009 -0500
+++ b/utils/mojoshader-compiler.c	Mon Feb 23 17:49:10 2009 -0500
@@ -210,6 +210,10 @@
     MOJOSHADER_preprocessorDefine *defs = NULL;
     unsigned int defcount = 0;
 
+    include_paths = (const char **) malloc(sizeof (char *));
+    include_paths[0] = ".";
+    include_path_count = 1;
+
     for (i = 1; i < argc; i++)
     {
         const char *arg = argv[i];