diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2016-08-08 00:20:22 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2016-08-08 00:20:22 +0300 |
commit | a0c187667ec6eaa67b450a7fc315f938f22e94cb (patch) | |
tree | 025ce3bc1c4fdc22316d0fc87a5093fbad28fb6e /intern/cycles/subd | |
parent | aa30f993d2519e6e5aadbc77202e65086ecde565 (diff) |
Cycles: Quiet warning with WITH_OPENSUBDIV disabled
Checked with @maiself, for now going with this simple solution.
Diffstat (limited to 'intern/cycles/subd')
-rw-r--r-- | intern/cycles/subd/subd_patch_table.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/subd/subd_patch_table.cpp b/intern/cycles/subd/subd_patch_table.cpp index a32533bbf3e..68ec1b2c6a6 100644 --- a/intern/cycles/subd/subd_patch_table.cpp +++ b/intern/cycles/subd/subd_patch_table.cpp @@ -251,6 +251,9 @@ void PackedPatchTable::pack(Far::PatchTable* patch_table, int offset) } build_patch_map(*this, patch_table, offset); +#else + (void)patch_table; + (void)offset; #endif } |