Skip to content

Commit 3bfb4c6

Browse files
committed
Minor ANGLE_UNLIKELY addition.
Change-Id: I364099df9bc8a9a4e89d6cf6414155a0d75ce05d
1 parent 16c8f79 commit 3bfb4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libANGLE/renderer/metal/ContextMtl.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ bool NeedToInvertDepthRange(float near, float far)
225225

226226
angle::Result ContextMtl::ensureIncompleteTexturesCreated(const gl::Context *context)
227227
{
228-
if (!mIncompleteTexturesInitialized)
228+
if (ANGLE_UNLIKELY(!mIncompleteTexturesInitialized))
229229
{
230230
constexpr gl::TextureType supportedTextureTypes[] = {
231231
gl::TextureType::_2D, gl::TextureType::_2DArray, gl::TextureType::_3D,

0 commit comments

Comments
 (0)