summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/scissor.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-06-02 14:31:47 +0200
committerSamuel Pitoiset <[email protected]>2017-06-06 11:47:24 +0200
commitd19d8f5e6b583d2eac202c2fd8b7ac9e54c489d5 (patch)
treea5ecea1b8d7833e20fb2d59b67a17186db51a349 /src/mesa/main/scissor.c
parent11c6aab239fca9bc4e493107fb3c31016b3a28bd (diff)
mesa: remove call to Driver.Scissor() in _mesa_WindowRectanglesEXT()
This is actually useless because this driver call is only used by the classic DRI drivers which don't support that extension and probably won't never support it. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/scissor.c')
-rw-r--r--src/mesa/main/scissor.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/scissor.c b/src/mesa/main/scissor.c
index 631ea4d3205..fe2e4dbff65 100644
--- a/src/mesa/main/scissor.c
+++ b/src/mesa/main/scissor.c
@@ -258,9 +258,6 @@ _mesa_WindowRectanglesEXT(GLenum mode, GLsizei count, const GLint *box)
sizeof(struct gl_scissor_rect) * count);
ctx->Scissor.NumWindowRects = count;
ctx->Scissor.WindowRectMode = mode;
-
- if (ctx->Driver.Scissor)
- ctx->Driver.Scissor(ctx);
}