summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-04-27 10:03:56 +1000
committerTimothy Arceri <[email protected]>2018-04-27 10:09:10 +1000
commit410f901beed8f6f041716396b1f27fd61518e231 (patch)
tree012816750620380a6b3e49d1177b42b4f26cd09d /src/mesa/drivers/common
parentb695a7bd8e5bfea4708661b3d941c69a37d21ebb (diff)
mesa: drop the buffer mode param from the DrawBuffer driver function
No drivers used it. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common')
-rw-r--r--src/mesa/drivers/common/driverfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/common/driverfuncs.c b/src/mesa/drivers/common/driverfuncs.c
index b7ac2b5b434..e783262773e 100644
--- a/src/mesa/drivers/common/driverfuncs.c
+++ b/src/mesa/drivers/common/driverfuncs.c
@@ -306,5 +306,5 @@ _mesa_init_driver_state(struct gl_context *ctx)
ctx->Stencil.ZPassFunc[1]);
- ctx->Driver.DrawBuffer(ctx, ctx->Color.DrawBuffer[0]);
+ ctx->Driver.DrawBuffer(ctx);
}