mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
i965: make brw_context::num_samples unsigned int
It is never a negative number. Variable is compared against unsigned values and passed into functions that expect unsigned int. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
ef1df63046
commit
a9bb067e27
1 changed files with 1 additions and 1 deletions
|
|
@ -980,7 +980,7 @@ struct brw_context
|
|||
* Number of samples in ctx->DrawBuffer, updated by BRW_NEW_NUM_SAMPLES so
|
||||
* that we don't have to reemit that state every time we change FBOs.
|
||||
*/
|
||||
int num_samples;
|
||||
unsigned int num_samples;
|
||||
|
||||
/* BRW_NEW_URB_ALLOCATIONS:
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue