mesa: fix incorrect _mesa_HashInsertLocked parameter in _mesa_EndList
This fixes random behavior when we turn on GL names reuse for display lists. (ctx->Const.ForceGLNamesReuse) Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27588>
This commit is contained in:
@@ -13401,7 +13401,7 @@ _mesa_EndList(void)
|
||||
/* Install the new list */
|
||||
_mesa_HashInsertLocked(ctx->Shared->DisplayList,
|
||||
ctx->ListState.CurrentList->Name,
|
||||
ctx->ListState.CurrentList, true);
|
||||
ctx->ListState.CurrentList, false);
|
||||
|
||||
if (MESA_VERBOSE & VERBOSE_DISPLAY_LIST)
|
||||
mesa_print_display_list(ctx->ListState.CurrentList->Name);
|
||||
|
Reference in New Issue
Block a user