Skip to content

Commit

Permalink
fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
iaomw committed Sep 4, 2024
1 parent d951fc7 commit 3f0bfdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zenovis/xinxinoptix/OptiXStuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {

Expand Down

0 comments on commit 3f0bfdd

Please sign in to comment.