Blender Git Loki

Git Commits -> Revision a3b47ed

Revision a3b47ed by Dalai Felinto (master)
March 4, 2013, 08:22 (GMT)
BGE bug-fix[#34523] 2dfilter produces render error (objects disappear) - likely an alpha problem
Fix for 2.66a

With help from Daniel Stokes and Mitchell Stokes.

This bug always existed in OSX, but started showing up in Windows and Linux on review (54745 + 54747)
[the patch to enable alpha buffer for all OSs]

A better fix would be to use RAS_IRasterizer::SetAlphaBlend(GPU_BLEND_SOLID);
but I think gpu_verify_alpha_blend() is not switching to SOLID because
GTS.alphablend is GPU_BLEND_SOLID (even though GL_ALPHA_TEST is enabled).

Anyways, this is not something worth tackling now, since in terms of functionality it shouldn't matter.

Commit Details:

Full Hash: a3b47ede1776e1a3ef9514b152d880d2c98d597a
SVN Revision: 55010
Parent Commit: 9b5edeb
Lines Changed: +3, -0

1 Modified Path:

/source/gameengine/Rasterizer/RAS_2DFilterManager.cpp (+3, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021