cocos2d-x
cocos2d-x copied to clipboard
Still show black when setting glclearColor(0 ,0 , 0, 0) in Win32
- cocos2d-x version: 4.0
- devices test on:
- developing environments
- VS version: Visual Studio2019
Steps to Reproduce:
- director->setAnimationInterval(1.0f / 60); #add director->setClearColor(cocos2d::Color4F(1.0f, 1.0f, 1.0f, 0.0f));
- When setting alpha channel to 0.0, I expect to see a transparent background. However, it is still black. Is there any mistake when I set director?