mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 16:50:13 +01:00
intel: Fix copy-and-paste bug setting gl_constants::MaxSamples
gl_constants::MaxSamples is an integer, so setting it to 1.0 is just silly. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
a86d629799
commit
d299ef3ad0
1 changed files with 1 additions and 1 deletions
|
|
@ -681,7 +681,7 @@ intelInitContext(struct intel_context *intel,
|
|||
ctx->Const.MaxPointSizeAA = 3.0;
|
||||
ctx->Const.PointSizeGranularity = 1.0;
|
||||
|
||||
ctx->Const.MaxSamples = 1.0;
|
||||
ctx->Const.MaxSamples = 1;
|
||||
|
||||
if (intel->gen >= 6)
|
||||
ctx->Const.MaxClipPlanes = 8;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue