diff options
author | midipix <writeonce@midipix.org> | 2019-08-06 17:26:00 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-08-06 17:26:00 +0000 |
commit | 7740eaccdddb94070a69b45cbd7b37d68940b393 (patch) | |
tree | 7b354200f672f8ea2f90a95bec46b2a0533dbd9f /src | |
parent | f9e9dfda7f6a9accddeffa927c3355dff8e492ac (diff) | |
download | ntapi-7740eaccdddb94070a69b45cbd7b37d68940b393.tar.bz2 ntapi-7740eaccdddb94070a69b45cbd7b37d68940b393.tar.xz |
__ntapi_blt_obtain(): fix optimized code path (do not reset *blkid).
Diffstat (limited to 'src')
-rw-r--r-- | src/blitter/ntapi_blt_block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/ntapi_blt_block.c b/src/blitter/ntapi_blt_block.c index 803e723..7fd0094 100644 --- a/src/blitter/ntapi_blt_block.c +++ b/src/blitter/ntapi_blt_block.c @@ -98,7 +98,7 @@ int32_t __fastcall __ntapi_blt_obtain( if (blitter->info.blocks_avail == 0) return NT_STATUS_ALLOCATE_BUCKET; else if ((bit = *blkid % (8*sizeof(size_t))) == 0) - return __ntapi_blt_acquire(blitter,blkid); + return __blt_acquire(blitter,blkid); for (n=0,mask=(uintptr_t)-1; n<bit; n++) mask ^= ((size_t)1 << n); |