commit 38f5ad611f2c35012a3cf2450caf2bece4301edc
parent e8791b54afa1248243799a49ef175fc33c6caac4
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 17 Jun 2015 15:59:22 +0200
Use the s3d_device_create API with a verbose arg
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test_smc_light_path.c b/src/test_smc_light_path.c
@@ -339,7 +339,7 @@ main(int argc, char** argv)
NCHECK(img, NULL);
}
- CHECK(s3d_device_create(NULL, &allocator, &dev), RES_OK);
+ CHECK(s3d_device_create(NULL, &allocator, 1, &dev), RES_OK);
CHECK(s3d_scene_create(dev, &scn), RES_OK);
attribs[0].usage = S3D_POSITION;