mesa/main: conversion from float in GetUniformi64v requires rounding to nearest
authorIago Toral Quiroga <itoral@igalia.com>
Thu, 18 May 2017 09:43:56 +0000 (11:43 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 1 Jun 2017 06:44:34 +0000 (08:44 +0200)
commit1356b422847dfa92dcae1e2709879daa27110795
treee01e3e99becd37c2b51877cd7f53f268057d840b
parentc33308248357c40896872336258a66190e3c7048
mesa/main: conversion from float in GetUniformi64v requires rounding to nearest

As we do for all other cases of float/double conversions to integers.

v2: use round() instead of IROUND() macros (Iago)

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/uniform_query.cpp