diff --git a/examples/refraction-effect/refraction-effect-example.cpp b/examples/refraction-effect/refraction-effect-example.cpp index 6be6080..e995e60 100644 --- a/examples/refraction-effect/refraction-effect-example.cpp +++ b/examples/refraction-effect/refraction-effect-example.cpp @@ -480,6 +480,8 @@ private: return; } + fileBuffer.PushBack( '\0' ); + std::stringstream iss( &fileBuffer[0], std::ios::in ); boundingBox.Resize( 6 );