diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-17 00:35:21 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-17 00:35:21 +0200 |
commit | 69ba0b04619ca6e32517b52c120241ff7762fce2 (patch) | |
tree | f758ca10d9ffcb51b9d9ef03515e29033656a0cd /bullet_fragment.glsl | |
parent | ed802f4fa92e3107b362b8d0daa6394ebdcd6d52 (diff) |
Fixed OS X support.
Diffstat (limited to 'bullet_fragment.glsl')
-rw-r--r-- | bullet_fragment.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bullet_fragment.glsl b/bullet_fragment.glsl index 3bd7717..550585b 100644 --- a/bullet_fragment.glsl +++ b/bullet_fragment.glsl @@ -2,7 +2,7 @@ varying mat4 v_tex_rot; uniform sampler2D tex; void main() { - vec2 l_uv = gl_PointCoord; + vec2 l_uv = gl_TexCoord[0].xy; const vec2 l_offset = vec2(0.5, 0.5); l_uv -= l_offset; l_uv = vec2(v_tex_rot * vec4(l_uv, 0.0, 1.0)); |