diff options
author | midipix <writeonce@midipix.org> | 2020-06-25 14:34:38 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-06-25 14:34:38 +0000 |
commit | bbb5d06bc958a711e6b2a1df3214b1fd7b858bb0 (patch) | |
tree | 3fede4d08f9dfb86736b4e513eb25bf2fa56cbdb /src | |
parent | e20c3e340c2ffa32489a6dcaada3b112937ba9ff (diff) | |
download | ntapi-bbb5d06bc958a711e6b2a1df3214b1fd7b858bb0.tar.bz2 ntapi-bbb5d06bc958a711e6b2a1df3214b1fd7b858bb0.tar.xz |
__ntapi_blt_alloc(): use (-1), not an explicit representation (32-bit support).
Diffstat (limited to 'src')
-rw-r--r-- | src/blitter/ntapi_blt_alloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/blitter/ntapi_blt_alloc.c b/src/blitter/ntapi_blt_alloc.c index 92a84e9..c4b69e5 100644 --- a/src/blitter/ntapi_blt_alloc.c +++ b/src/blitter/ntapi_blt_alloc.c @@ -79,8 +79,7 @@ int32_t __fastcall __ntapi_blt_alloc( if (!(params->flags & NT_BLITTER_PRESERVE_BITS)) __ntapi->tt_aligned_block_memset( - blt_ctx->bitmap, - 0xFFFFFFFFFFFFFFFF, + blt_ctx->bitmap,(-1), ptrs * sizeof(uintptr_t)); /* info structure */ |