commit | f158198ccc3a1f53bfebaa6b8f4426e80e1867ea | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Thu Jan 31 17:20:30 2013 -0800 |
committer | Romain Guy <romainguy@google.com> | Thu Jan 31 17:20:30 2013 -0800 |
tree | b76bc1af0d130f77ac7eadb07f445e657f77d268 | |
parent | f48a2d30c5d5f7c167310ff9ca1cd2310121be7c [diff] |
Discard the correct buffer when the bound FBO is not 0 glDiscardFramebufferEXT uses different constants depending on whether the default FBO is bound or not. The code was choosing the proper value for the color buffer but not for the stencil buffer. Change-Id: I55cfcbdf663582119cb1a6289317016440d9e361