diff options
author | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-05-24 21:30:42 +0000 |
---|---|---|
committer | taw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5> | 2008-05-24 21:30:42 +0000 |
commit | 8684d5a1a6d18e32eb15324f19da18ae88472707 (patch) | |
tree | a14fd840242c533ec1cf2d949d43a526555efec5 /src/model.c | |
parent | 3e3436f1a84a3f418e9894356a6262118b30708f (diff) |
Loads of shader and lighting stuff
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@39 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/model.c')
-rw-r--r-- | src/model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model.c b/src/model.c index 76e84c7..663a862 100644 --- a/src/model.c +++ b/src/model.c @@ -279,7 +279,7 @@ static int model_load(ModelContext *ctx, const char *name, RenderContext *render } /* Subdivide the previous face if requested */ - if ( sscanf(line, "subdivide %f %f", &x, &y) == 2 ) { + if ( sscanf(line, "ssubdivide %f %f", &x, &y) == 2 ) { if ( type == PRIMITIVE_QUADS ) { if ( (num_vertices % 4)==0 ) { GLfloat u, v; |