glsl/apps: Update after recent pp interface changes.
This commit is contained in:
parent
0481e85af7
commit
125691dda3
|
@ -330,8 +330,12 @@ main(int argc,
|
|||
fprintf(out, "%s ", sl_pp_context_cstr(context, outtokens[i].data.identifier));
|
||||
break;
|
||||
|
||||
case SL_PP_NUMBER:
|
||||
fprintf(out, "%s ", sl_pp_context_cstr(context, outtokens[i].data.number));
|
||||
case SL_PP_UINT:
|
||||
fprintf(out, "%s ", sl_pp_context_cstr(context, outtokens[i].data._uint));
|
||||
break;
|
||||
|
||||
case SL_PP_FLOAT:
|
||||
fprintf(out, "%s ", sl_pp_context_cstr(context, outtokens[i].data._float));
|
||||
break;
|
||||
|
||||
case SL_PP_OTHER:
|
||||
|
|
|
@ -314,8 +314,12 @@ main(int argc,
|
|||
fprintf(out, "%s ", sl_pp_context_cstr(context, tokens[i].data.identifier));
|
||||
break;
|
||||
|
||||
case SL_PP_NUMBER:
|
||||
fprintf(out, "(%s) ", sl_pp_context_cstr(context, tokens[i].data.number));
|
||||
case SL_PP_UINT:
|
||||
fprintf(out, "(%s) ", sl_pp_context_cstr(context, tokens[i].data._uint));
|
||||
break;
|
||||
|
||||
case SL_PP_FLOAT:
|
||||
fprintf(out, "(%s) ", sl_pp_context_cstr(context, tokens[i].data._float));
|
||||
break;
|
||||
|
||||
case SL_PP_OTHER:
|
||||
|
|
Loading…
Reference in New Issue