mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
iOS: Fixed build.
This commit is contained in:
parent
f0ae846837
commit
0d1d489b4a
1 changed files with 1 additions and 1 deletions
|
@ -1847,7 +1847,7 @@ namespace bgfx { namespace mtl
|
|||
desc.sampleCount = 1; //TODO: set samplecount - If textureType is not MTLTextureType2DMultisample, the value must be 1.
|
||||
desc.resourceOptions = MTLResourceStorageModePrivate;
|
||||
desc.cpuCacheMode = MTLCPUCacheModeDefaultCache;
|
||||
desc.storageMode = MTLStorageModeManaged; //MTLStorageModePrivate;
|
||||
desc.storageMode = 1 /*MTLStorageModeManaged*/;
|
||||
desc.usage = MTLTextureUsageShaderRead;
|
||||
|
||||
//TODO: set resource flags depending on usage(renderTarget/computeWrite/etc) on iOS9/OSX
|
||||
|
|
Loading…
Reference in a new issue