Browse Source

Shaders: fix textured Phong for GLSL 1.20 and GLSL ES 1.0.

I desperately need unit tests for shader compilation.
pull/23/head
Vladimír Vondruš 13 years ago
parent
commit
fd1d067c36
  1. 1
      src/Shaders/Phong.frag

1
src/Shaders/Phong.frag

@ -25,6 +25,7 @@
#ifndef NEW_GLSL
#define in varying
#define color gl_FragColor
#define texture texture2D
#endif
#ifndef RUNTIME_CONST

Loading…
Cancel
Save