diff options
author | Matt Ebb <matt@mke3.net> | 2008-02-13 16:36:35 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2008-02-13 16:36:35 +0300 |
commit | e26b5aa9c47fbc604c23efe9100940ff68d8ddbe (patch) | |
tree | 3b00042e1c2c37e2be7a7fd04a183faa7c6276d1 /source/gameengine/GamePlayer/ghost | |
parent | 08d54e71eaf7624dec3bb473dfa941faa04b85af (diff) |
* fix for [#8085] Glare node crashes on inputs with < 4 colour channels
I had this assigned to Alfredo for a while, but he hasn't replied to the tracker at all, so I suspect he's not around. I'll commit this now to prevent crashes.
Some of the code in the glare node assumed that all buffers will be 4 channel RGBA, when in fact it was possible to give it a VEC3, such as a spec pass with no alpha, which would crash it. This fix just duplicates the input to a new temporary RGBA buffer to work on, if it's not already RGBA.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost')
0 files changed, 0 insertions, 0 deletions