cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.16k stars 7.05k forks source link

Black screen on Android Emulator #20717

Open Spider84 opened 2 years ago

Spider84 commented 2 years ago

Bug same as "Old Black screen bug". BUT! At this time Application is Work some time, but in one moment can switch to black screen. Bug reproduced only on HW GPU Acceleration. I haven't application source and can't say where exectly, but I have Emulator Sources and can modify them and compile. I need to run this application on Emulator with HW GPU Acceleration

Before Blackscreen in logcat I can see:

01-19 07:38:32.100  3766  3907 D cocos2d-x debug info: OpenGL error 0x0502 in C:/trunk/frameworks/cocos2d-x/cocos/renderer/CCTexture2D.cpp initWithMipmaps 665
01-19 07:38:32.100  3766  3907 D cocos2d-x debug info: