utils/mojoshader-compiler.c
changeset 793 616980fb00bb
parent 747 0d1dbadcb387
child 885 29b6d4c4a7a2
equal deleted inserted replaced
792:e0c5fc7d71c3 793:616980fb00bb
   203 static int compile(const char *fname, const char *buf, int len,
   203 static int compile(const char *fname, const char *buf, int len,
   204                     const char *outfile,
   204                     const char *outfile,
   205                     const MOJOSHADER_preprocessorDefine *defs,
   205                     const MOJOSHADER_preprocessorDefine *defs,
   206                     unsigned int defcount, FILE *io)
   206                     unsigned int defcount, FILE *io)
   207 {
   207 {
   208     const MOJOSHADER_parseData *pd;
   208     // !!! FIXME: write me.
   209     int retval = 0;
   209     //const MOJOSHADER_parseData *pd;
       
   210     //int retval = 0;
   210 
   211 
   211     MOJOSHADER_compile(fname, buf, len, defs, defcount,
   212     MOJOSHADER_compile(fname, buf, len, defs, defcount,
   212                              open_include, close_include,
   213                              open_include, close_include,
   213                              Malloc, Free, NULL);
   214                              Malloc, Free, NULL);
   214     return 1;
   215     return 1;