Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Aug 23, 2024
1 parent a7d977a commit 645ef42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions AppleCommon/GBViewBase.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ - (void) createInternalView

- (uint32_t *)currentBuffer
{
if (unlikely(_parent)) {
if (GB_unlikely(_parent)) {
return [_parent currentBuffer];
}
return _imageBuffers[_currentBuffer];
}

- (uint32_t *)previousBuffer
{
if (unlikely(_parent)) {
if (GB_unlikely(_parent)) {
return [_parent previousBuffer];
}
return _imageBuffers[(_currentBuffer + 2) % self.numberOfBuffers];
Expand All @@ -74,7 +74,7 @@ - (void) setFrameBlendingMode:(GB_frame_blending_mode_t)frameBlendingMode

- (GB_frame_blending_mode_t)frameBlendingMode
{
if (unlikely(_parent)) {
if (GB_unlikely(_parent)) {
return [_parent frameBlendingMode];
}
if (_frameBlendingMode == GB_FRAME_BLENDING_MODE_ACCURATE) {
Expand Down

0 comments on commit 645ef42

Please sign in to comment.