diff options
author | Michal Krol <[email protected]> | 2009-09-22 12:52:21 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-22 12:52:21 +0200 |
commit | 125691dda3d261d3115bf85265428e28d2bbf6c8 (patch) | |
tree | 08e8eac9e40522d4189eac75d90a580f0b904839 /src/glsl/apps/process.c | |
parent | 0481e85af7195e13c30580afba233a80feeee740 (diff) |
glsl/apps: Update after recent pp interface changes.
Diffstat (limited to 'src/glsl/apps/process.c')
-rw-r--r-- | src/glsl/apps/process.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c index 1fdb09670cc..4fff3570c1a 100644 --- a/src/glsl/apps/process.c +++ b/src/glsl/apps/process.c @@ -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: |