cocos2d-x icon indicating copy to clipboard operation
cocos2d-x copied to clipboard

Still show black when setting glclearColor(0 ,0 , 0, 0) in Win32

Open 0xCreo opened this issue 5 years ago • 1 comments

  • cocos2d-x version: 4.0
  • devices test on:
  • developing environments
    • VS version: Visual Studio2019

Steps to Reproduce:

  1. director->setAnimationInterval(1.0f / 60); #add director->setClearColor(cocos2d::Color4F(1.0f, 1.0f, 1.0f, 0.0f));
  2. 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?

0xCreo avatar Aug 18 '20 08:08 0xCreo