Skip to content

Commit

Permalink
Minor ANGLE_UNLIKELY addition.
Browse files Browse the repository at this point in the history
Change-Id: I364099df9bc8a9a4e89d6cf6414155a0d75ce05d
  • Loading branch information
kakashidinho committed Apr 17, 2020
1 parent 16c8f79 commit 3bfb4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libANGLE/renderer/metal/ContextMtl.mm
Expand Up @@ -225,7 +225,7 @@ bool NeedToInvertDepthRange(float near, float far)

angle::Result ContextMtl::ensureIncompleteTexturesCreated(const gl::Context *context)
{
if (!mIncompleteTexturesInitialized)
if (ANGLE_UNLIKELY(!mIncompleteTexturesInitialized))
{
constexpr gl::TextureType supportedTextureTypes[] = {
gl::TextureType::_2D, gl::TextureType::_2DArray, gl::TextureType::_3D,
Expand Down

0 comments on commit 3bfb4c6

Please sign in to comment.