From 023d31848b93bc76ae8c401b11d76010a16408fd Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 30 Aug 2012 21:52:05 +0000 Subject: [PATCH] neercs: fix an illegal construct in the copper shader. --- neercs/video/copper.lolfx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neercs/video/copper.lolfx b/neercs/video/copper.lolfx index 35d5a78..6cba9f1 100644 --- a/neercs/video/copper.lolfx +++ b/neercs/video/copper.lolfx @@ -34,5 +34,5 @@ void main(void) copper.z=float(int(copper.z*8.0)*32)/256.0; */ - gl_FragColor=vec4((color==1.0)?copper:color,1.0); - } \ No newline at end of file + gl_FragColor=vec4((dot(color,color)==1.0)?copper:color,1.0); + }