diff options
| author | 2017-11-03 16:15:21 +0000 | |
|---|---|---|
| committer | 2017-11-03 16:15:21 +0000 | |
| commit | b60bde6ffc8c1129e3d6063cb5a362925ed6b834 (patch) | |
| tree | b1509f3a632f937df7375e813b2d73a31e4e2f8f /opengl/libagl/light.cpp | |
| parent | ceeb154b9f3d2179c10c95a2c94701f4c99a85ac (diff) | |
| parent | fe805e8913bfa2337907282ce8c4d06797168b26 (diff) | |
Merge "Use -Werror in frameworks/native/opengl/libagl" am: d4f0d3a4d2
am: fe805e8913
Change-Id: Icb4254fabad368dbe5ea7fa534300e69e4027faf
Diffstat (limited to 'opengl/libagl/light.cpp')
| -rw-r--r-- | opengl/libagl/light.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/opengl/libagl/light.cpp b/opengl/libagl/light.cpp index e7fe9d71a3..216c725128 100644 --- a/opengl/libagl/light.cpp +++ b/opengl/libagl/light.cpp @@ -467,7 +467,6 @@ static void lightx(GLenum i, GLenum pname, GLfixed param, ogles_context_t* c) } light_t& light = c->lighting.lights[i-GL_LIGHT0]; - const GLfixed kDegToRad = GLfixed((M_PI * gglIntToFixed(1)) / 180.0f); switch (pname) { case GL_SPOT_EXPONENT: if (GGLfixed(param) >= gglIntToFixed(128)) { |