Fix whitespace: Convert tabs to spaces and remove trailing whitespace.
This commit is contained in:
parent
075d7b3b50
commit
e80bf0ba92
54 changed files with 262 additions and 262 deletions
|
@ -4,6 +4,6 @@ uniform float pixel_threshold;
|
|||
void main()
|
||||
{
|
||||
float factor = 1.0 / (pixel_threshold + 0.001);
|
||||
vec2 pos = floor(gl_TexCoord[0].xy * factor + 0.5) / factor;
|
||||
gl_FragColor = texture2D(texture, pos) * gl_Color;
|
||||
vec2 pos = floor(gl_TexCoord[0].xy * factor + 0.5) / factor;
|
||||
gl_FragColor = texture2D(texture, pos) * gl_Color;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue