gpt4 book ai didi

ios - glReadPixels 在 iOS 上崩溃

转载 作者:行者123 更新时间:2023-11-29 11:36:53 29 4
gpt4 key购买 nike

当在线用户刚刚打开应用程序时,即使现在这个崩溃,我们也无法复制自己。崩溃信息:

libsystem_platform.dylib          0x183223b40 _sigtramp + 36 (sigtramp.c:109)
AGXMetalA10 0x1a2ce15d8
AGX::Texture<(AGXTextureMemoryLayout)1, AGX::G9::Encoders,
AGX::G9::Classes>::readRegion(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, void*, unsigned long, unsigned long) + 904 (agxa_texture_template.hpp:1038)
AGXMetalA10 0x1a2ce15d8
AGX::Texture<(AGXTextureMemoryLayout)1, AGX::G9::Encoders,
AGX::G9::Classes>::readRegion(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, void*, unsigned long, unsigned long) + 904 (agxa_texture_template.hpp:1038)
AGXMetalA10 0x1a2ccaa7c -[AGXA10FamilyTexture getBytes:bytesPerRow:bytesPerImage:fromRegion:mipmapLevel:slice:] + 84 (agxa_texture_objc.mm:355)
AppleMetalGLRenderer 0x1a2d3e8a0 gldReadFramebufferData + 1260 (glr_framebuffer.mm:549)
GLEngine 0x1a3a98074 glReadPixels_Exec + 1124 (gl_read_pixels.c:329)

最佳答案

看起来您的 glReadPixel() 调用的维度很重要。对于我的情况,似乎如果我将小于 32 的整数作为高度参数,则会发生此崩溃。您可以尝试和测试。

关于ios - glReadPixels 在 iOS 上崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48679713/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com