diff options
author | Marek Olšák <[email protected]> | 2020-03-22 16:40:32 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2020-04-06 10:29:16 -0400 |
commit | e6bc1702f484be1ecb592295c4877281075798be (patch) | |
tree | 9f6482f91c3b22a30eb9d70ce573bd30d24f7df2 /src/mesa/main/enable.h | |
parent | 10beee8a7757e956ab0e02ec8402ec1273d8edce (diff) |
mesa: precompute _mesa_primitive_restart_index during state changes
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4466>
Diffstat (limited to 'src/mesa/main/enable.h')
-rw-r--r-- | src/mesa/main/enable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/enable.h b/src/mesa/main/enable.h index 1cd8f675d33..78e31700548 100644 --- a/src/mesa/main/enable.h +++ b/src/mesa/main/enable.h @@ -38,6 +38,9 @@ struct gl_context; extern void +_mesa_update_derived_primitive_restart_state(struct gl_context *ctx); + +extern void _mesa_set_enable( struct gl_context* ctx, GLenum cap, GLboolean state ); extern void GLAPIENTRY |