diff --git a/zenovis/xinxinoptix/OptiXStuff.h b/zenovis/xinxinoptix/OptiXStuff.h index d9a64d14a5..f9ba910311 100644 --- a/zenovis/xinxinoptix/OptiXStuff.h +++ b/zenovis/xinxinoptix/OptiXStuff.h @@ -150,7 +150,7 @@ inline void createContext() OPTIX_CHECK( optixDeviceContextCreate( cu_ctx, &options, &context ) ); } -inline uint CachedPrimitiveTypeFlags = OPTIX_PRIMITIVE_TYPE_FLAGS_TRIANGLE; +inline uint CachedPrimitiveTypeFlags = UINT_MAX; inline bool configPipeline(OptixPrimitiveTypeFlags usesPrimitiveTypeFlags) {