about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2025-02-19 20:31:28 +0100
committerptitSeb <sebastien.chev@gmail.com>2025-02-19 20:31:28 +0100
commitee3ee539e0841b566f30c6c22895a090a607b51d (patch)
treefddbf5e8f18f0ec5ef473722b0c573f34aedb3f4
parentc4b79374fe26e0f01675c9f10cce5294e74998c6 (diff)
downloadbox64-ee3ee539e0841b566f30c6c22895a090a607b51d.tar.gz
box64-ee3ee539e0841b566f30c6c22895a090a607b51d.zip
[BOX32][WRAPPING] Do not convert stream private field of FT_FaceRec structure
-rw-r--r--src/wrapped32/wrappedfreetype.c8
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);