summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMathias Froehlich <[email protected]>2015-04-05 09:21:51 +0200
committerMathias Froehlich <[email protected]>2015-04-05 09:40:47 +0200
commit24b78fe54e1498dc3f66cb616561894039806642 (patch)
tree20353de1f05121a4b9d9323a7601d37e73d411aa /src/mesa
parentfdd90fcb15c109f3dcbf5e46fa8a1f8284b9c266 (diff)
mesa: Remove unused variables left over from 107ae27e57d.
Reviewed-by: Dave Airlie <[email protected]> Signed-off-by: Mathias Froehlich <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/viewport.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/viewport.c b/src/mesa/main/viewport.c
index 3f5ca793075..b27063031c4 100644
--- a/src/mesa/main/viewport.c
+++ b/src/mesa/main/viewport.c
@@ -40,8 +40,6 @@ set_viewport_no_notify(struct gl_context *ctx, unsigned idx,
GLfloat x, GLfloat y,
GLfloat width, GLfloat height)
{
- double scale[3], translate[3];
-
/* clamp width and height to the implementation dependent range */
width = MIN2(width, (GLfloat) ctx->Const.MaxViewportWidth);
height = MIN2(height, (GLfloat) ctx->Const.MaxViewportHeight);
@@ -236,8 +234,6 @@ static void
set_depth_range_no_notify(struct gl_context *ctx, unsigned idx,
GLclampd nearval, GLclampd farval)
{
- double scale[3], translate[3];
-
if (ctx->ViewportArray[idx].Near == nearval &&
ctx->ViewportArray[idx].Far == farval)
return;