glsl/apps: Update after recent pp interface changes.

This commit is contained in:
Michal Krol 2009-09-22 12:52:21 +02:00
parent 0481e85af7
commit 125691dda3
2 changed files with 12 additions and 4 deletions

View File

@ -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:

View File

@ -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: