mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 15:20:17 +01:00
i915: Round point sizes instead of truncate.
This commit is contained in:
parent
d8d49716cf
commit
718f31b830
1 changed files with 1 additions and 1 deletions
|
|
@ -585,7 +585,7 @@ i915PointSize(GLcontext * ctx, GLfloat size)
|
|||
{
|
||||
struct i915_context *i915 = I915_CONTEXT(ctx);
|
||||
int lis4 = i915->state.Ctx[I915_CTXREG_LIS4] & ~S4_POINT_WIDTH_MASK;
|
||||
GLint point_size = (int) size;
|
||||
GLint point_size = (int) round(size);
|
||||
|
||||
DBG("%s\n", __FUNCTION__);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue