diff options
author | chai <chaifix@163.com> | 2019-12-15 16:45:17 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-12-15 16:45:17 +0800 |
commit | 7da5ed50d803e94518fcb6acdd8083710e0eb77e (patch) | |
tree | 9f3655b5f8049cca4251dd5425930edb52f2dc3d /src/example | |
parent | bcb7c0a426e66dc57007ae9a0e879358c7860fbb (diff) |
*misc
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/03_texture.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/example/03_texture.c b/src/example/03_texture.c index fbd442a..50a96a1 100644 --- a/src/example/03_texture.c +++ b/src/example/03_texture.c @@ -115,11 +115,8 @@ void ondrawtexture(void*data) { ssr_bindvertices(yingham_mesh->vertices, yingham_mesh->verts_count, yingham_mesh->triangles, yingham_mesh->tris_count); ssr_draw(PRIMITIVE_TRIANGLE); - ssr_disable(ENABLE_BACKFACECULL); - ssr_setuniformtex(0, ground_albedo); ssr_bindvertices(ground_mesh->vertices, ground_mesh->verts_count, ground_mesh->triangles, ground_mesh->tris_count); ssr_draw(PRIMITIVE_TRIANGLE); - ssr_enable(ENABLE_BACKFACECULL); } |