title: Texture2D: Error uploading compressed texture level: 0. glError: 0x0500
body: <p>i created new project i added:</p>
  
  <pre><code> Size winSize = Director::getInstance()-&gt;getWinSize();
    RenderTexture* pRenderTexture  = RenderTexture::create(winSize.width, winSize.height, Texture2D::PixelFormat::BGRA8888); 
  </code></pre>
  
  <p>and i keep getting this error:</p>
  
  <pre><code>cocos2d: Texture2D: Error uploading compressed texture level: 0 . glError: 0x0500
  Assert failed: Could not attach texture to framebuffer
  Assertion failed!
  </code></pre>
  
  <p>by the way the cpp-test RenderTexture example do work . 
  what im doing wrong here ?</p>
  
  <p>Using:</p>
  
  <ul>
  <li>cocos2d-x v3.3</li>
  <li>win7 32bit</li>
  </ul>