mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 17:50:11 +01:00
gallium: fix compiler warning
This commit is contained in:
parent
3f5b9f4ba4
commit
7375369fb3
1 changed files with 1 additions and 2 deletions
|
|
@ -482,11 +482,10 @@ static void
|
|||
pstip_first_tri(struct draw_stage *stage, struct prim_header *header)
|
||||
{
|
||||
struct pstip_stage *pstip = pstip_stage(stage);
|
||||
struct draw_context *draw = stage->draw;
|
||||
struct pipe_context *pipe = pstip->pipe;
|
||||
uint num = MAX2(pstip->num_textures, pstip->num_samplers);
|
||||
|
||||
assert(draw->rasterizer->poly_stipple_enable);
|
||||
assert(stage->draw->rasterizer->poly_stipple_enable);
|
||||
|
||||
/*
|
||||
* Bind our fragprog, sampler and texture
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue