mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Fix GL shader editing shader to not use uninitialised data
This commit is contained in:
@@ -90,8 +90,9 @@ uniform vec4 zcol;
|
||||
|
||||
void main()
|
||||
{
|
||||
Color = vec4(0);
|
||||
#if 1
|
||||
Color = acol + bcol + ccol;
|
||||
Color += acol + bcol + ccol;
|
||||
#endif
|
||||
Color += zcol.rgba;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user