**Refactor meshes format to support custom vertex layouts and new flexible api to access mesh data**
#3044 #2667
This commit is contained in:
@@ -1496,8 +1496,8 @@ void PixelFormatExtensions::GetSamplerInternal(PixelFormat format, int32& pixelS
|
||||
if (const PixelFormatSampler* sampler = PixelFormatSampler::Get(format))
|
||||
{
|
||||
pixelSize = sampler->PixelSize;
|
||||
*read = sampler->Read;
|
||||
*write = sampler->Write;
|
||||
*read = (void*)sampler->Read;
|
||||
*write = (void*)sampler->Write;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user