diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-02-19 20:31:28 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-02-19 20:31:28 +0100 |
| commit | ee3ee539e0841b566f30c6c22895a090a607b51d (patch) | |
| tree | fddbf5e8f18f0ec5ef473722b0c573f34aedb3f4 | |
| parent | c4b79374fe26e0f01675c9f10cce5294e74998c6 (diff) | |
| download | box64-ee3ee539e0841b566f30c6c22895a090a607b51d.tar.gz box64-ee3ee539e0841b566f30c6c22895a090a607b51d.zip | |
[BOX32][WRAPPING] Do not convert stream private field of FT_FaceRec structure
| -rw-r--r-- | src/wrapped32/wrappedfreetype.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wrapped32/wrappedfreetype.c b/src/wrapped32/wrappedfreetype.c index fa1e69dd..b6990830 100644 --- a/src/wrapped32/wrappedfreetype.c +++ b/src/wrapped32/wrappedfreetype.c @@ -1278,8 +1278,8 @@ void inplace_FT_FaceRec_shrink(void* a) dst->charmap = to_ptrv(src->charmap); dst->driver = to_ptrv(src->driver); dst->memory = to_ptrv(src->memory); - ((FT_StreamDesc_32_t*)src->stream)->value = to_long(src->stream->value); - ((FT_StreamDesc_32_t*)src->stream)->pointer = to_ptrv(src->stream->pointer); + //((FT_StreamDesc_32_t*)src->stream)->value = to_long(src->stream->value); + //((FT_StreamDesc_32_t*)src->stream)->pointer = to_ptrv(src->stream->pointer); dst->stream = to_ptrv(src->stream); dst->sizes_list.head = to_ptrv(src->sizes_list.head); dst->sizes_list.tail = to_ptrv(src->sizes_list.tail); @@ -1305,8 +1305,8 @@ void inplace_FT_FaceRec_enlarge(void* a) dst->sizes_list.tail = from_ptrv(src->sizes_list.tail); dst->sizes_list.head = from_ptrv(src->sizes_list.head); dst->stream = from_ptrv(src->stream); - dst->stream->pointer = from_ptrv(((FT_StreamDesc_32_t*)dst->stream)->pointer); - dst->stream->value = from_long(((FT_StreamDesc_32_t*)dst->stream)->value); + //dst->stream->pointer = from_ptrv(((FT_StreamDesc_32_t*)dst->stream)->pointer); + //dst->stream->value = from_long(((FT_StreamDesc_32_t*)dst->stream)->value); dst->memory = from_ptrv(src->memory); dst->driver = from_ptrv(src->driver); dst->charmap = from_ptrv(src->charmap); |