diff options
author | Alan Hourihane <[email protected]> | 2008-12-10 11:30:46 +0000 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2008-12-10 11:30:46 +0000 |
commit | e3f5370d637f367dbfe7d21f726e84185ad1e07d (patch) | |
tree | 1343acade89381a8efb35ae7d9498556157b46ef /src/gallium/auxiliary/draw/draw_pt_emit.c | |
parent | 608e14c5b265d331f89959b8e477796ac21c297c (diff) |
gallium: temporary check for > 65535 vertices
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_emit.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_emit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_emit.c b/src/gallium/auxiliary/draw/draw_pt_emit.c index d520b05869b..9c73d9c735c 100644 --- a/src/gallium/auxiliary/draw/draw_pt_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_emit.c @@ -165,6 +165,9 @@ void draw_pt_emit( struct pt_emit *emit, */ draw_do_flush( draw, DRAW_FLUSH_BACKEND ); + if (count > 65535) /* FIXME */ + return FALSE; + /* XXX: and work out some way to coordinate the render primitive * between vbuf.c and here... */ |