[svn] Update testparse for renames. trunk
authoricculus
Sat, 22 Mar 2008 00:04:32 -0400
branchtrunk
changeset 37 63b5ba0bcda0
parent 36 5ea7c5f6cf2d
child 38 506f3ba0957a
[svn] Update testparse for renames.
testparse.c
--- a/testparse.c	Sat Mar 22 00:02:49 2008 -0400
+++ b/testparse.c	Sat Mar 22 00:04:32 2008 -0400
@@ -1,9 +1,12 @@
 #include <stdio.h>
 #include <stdlib.h>
-#include "d3d2glsl.h"
+#include "mojoshader.h"
 
 int main(int argc, char **argv)
 {
+    printf("Compiled against version %d\n", MOJOSHADER_VERSION);
+    printf("Linked against version %d\n", MOJOSHADER_version());
+
     if (argv[1] != NULL)
     {
         FILE *io = fopen(argv[1], "rb");
@@ -12,7 +15,7 @@
             unsigned char *buf = (unsigned char *) malloc(1000000);
             int rc = fread(buf, 1, 1000000, io);
             fclose(io);
-            D3D2GLSL_parse("d3d", buf, rc, NULL, NULL);
+            MOJOSHADER_parse("d3d", buf, rc, NULL, NULL);
             free(buf);
         } // if
     } // if