fix ResourceBuffer going out of scope before texture callbacks
This commit is contained in:
13
windows/include/filament/gltfio/materials/uberarchive.h
Normal file
13
windows/include/filament/gltfio/materials/uberarchive.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef UBERARCHIVE_H_
|
||||
#define UBERARCHIVE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" {
|
||||
extern const uint8_t UBERARCHIVE_PACKAGE[];
|
||||
extern int UBERARCHIVE_DEFAULT_OFFSET;
|
||||
extern int UBERARCHIVE_DEFAULT_SIZE;
|
||||
}
|
||||
#define UBERARCHIVE_DEFAULT_DATA (UBERARCHIVE_PACKAGE + UBERARCHIVE_DEFAULT_OFFSET)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user