mesa: Make numSamples an unsigned int
authorGert Wollny <gw.fossdev@gmail.com>
Thu, 18 Jan 2018 08:57:27 +0000 (09:57 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 19 Jan 2018 15:45:57 +0000 (15:45 +0000)
commitfef4b16523dea0be0de748fcab7e6367ed8e9542
tree1c212a06c4a3cf96722bf29f268264d831cbeb1e
parentd0e37599ab822b54ca231b7f155f92156854681d
mesa: Make numSamples an unsigned int

As a followup to the previous patch propagate the change of numSamples
from int to unsigned to gl_config::samples and consequently fix some
-Wsign-compare warnings.

Signed-off-by: Gert Wollny <gw.fossdev@gmail.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/context.c
src/mesa/main/context.h
src/mesa/main/mtypes.h
src/mesa/main/multisample.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_fbo.h