Skip to content
This repository was archived by the owner on Oct 31, 2022. It is now read-only.

Commit 1f0609a

Browse files
committed
Remove unused code
1 parent f183eb0 commit 1f0609a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

source/HapDecompressor.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ typedef struct {
8585
Handle wantedDestinationPixelTypes;
8686
HapCodecBufferPoolRef dxtBufferPool;
8787
HapCodecBufferPoolRef convertBufferPool;
88-
#if defined(__APPLE__)
89-
dispatch_queue_t hapDecodeQueue;
90-
#endif
9188
#ifdef HAP_GPU_DECODE
9289
HapCodecGLRef glDecoder;
9390
#endif
@@ -186,9 +183,6 @@ pascal ComponentResult Hap_DOpen(HapDecompressorGlobals glob, ComponentInstance
186183
#ifdef HAP_GPU_DECODE
187184
glob->glDecoder = NULL;
188185
#endif
189-
#if defined(__APPLE__)
190-
glob->hapDecodeQueue = NULL;
191-
#endif
192186

193187
// Open and target an instance of the base decompressor as we delegate
194188
// most of our calls to the base decompressor instance
@@ -222,12 +216,6 @@ pascal ComponentResult Hap_DClose(HapDecompressorGlobals glob, ComponentInstance
222216
{
223217
HapCodecGLDestroy(glob->glDecoder);
224218
}
225-
#endif
226-
#if defined(__APPLE__)
227-
if (glob->hapDecodeQueue)
228-
{
229-
dispatch_release(glob->hapDecodeQueue);
230-
}
231219
#endif
232220
HapCodecBufferPoolDestroy(glob->convertBufferPool);
233221

0 commit comments

Comments
 (0)