mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
vbo: don't set FLUSH_UPDATE_CURRENT for glVertex
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3766>
This commit is contained in:
parent
f8b98d48bf
commit
afa7f1984a
1 changed files with 3 additions and 2 deletions
|
|
@ -498,8 +498,9 @@ do { \
|
|||
\
|
||||
/* Set FLUSH_STORED_VERTICES to indicate that there's now */ \
|
||||
/* something to draw (not just updating a color or texcoord).*/ \
|
||||
ctx->Driver.NeedFlush |= FLUSH_UPDATE_CURRENT | \
|
||||
FLUSH_STORED_VERTICES; \
|
||||
/* Don't set FLUSH_UPDATE_CURRENT because */ \
|
||||
/* Current.Attrib[VBO_ATTRIB_POS] is never used. */ \
|
||||
ctx->Driver.NeedFlush |= FLUSH_STORED_VERTICES; \
|
||||
\
|
||||
if (++exec->vtx.vert_count >= exec->vtx.max_vert) \
|
||||
vbo_exec_vtx_wrap(exec); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue