core: Enable Vulkan surface transforms by capability (#4320)
This commit is contained in:
@@ -265,11 +265,7 @@ const vk::Semaphore& SurfaceRenderableResource::getPresentSemaphore() const {
|
||||
}
|
||||
|
||||
bool SurfaceRenderableResource::hasSurfaceTransformSupport() const {
|
||||
#ifdef __ANDROID__
|
||||
return surface && capabilities.supportedTransforms != vk::SurfaceTransformFlagBitsKHR::eIdentity;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool SurfaceRenderableResource::didSurfaceTransformUpdate() const {
|
||||
|
||||
Reference in New Issue
Block a user