diff --git a/examples/07-callback/callback.cpp b/examples/07-callback/callback.cpp index 3caec753..20869984 100644 --- a/examples/07-callback/callback.cpp +++ b/examples/07-callback/callback.cpp @@ -139,7 +139,7 @@ struct BgfxCallback : public bgfx::CallbackI virtual uint32_t cacheReadSize(uint64_t _id) BX_OVERRIDE { char filePath[256]; - bx::snprintf(filePath, sizeof(filePath), "%016" PRIx64, _id); + bx::snprintf(filePath, sizeof(filePath), "temp/%016" PRIx64, _id); // Use cache id as filename. FILE* file = fopen(filePath, "rb");