mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed shader cache file path.
This commit is contained in:
parent
b2c22554dd
commit
3d54383dd9
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue