mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-27 08:50:49 +02:00
mesa/main: Make get_hash.c values constant.
Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Cc: "10.1 10.2" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
dad22cc590
commit
53468dee03
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ def print_header():
|
|||
(prime_factor, prime_step)
|
||||
|
||||
def print_params(params):
|
||||
print "static struct value_desc values[] = {"
|
||||
print "static const struct value_desc values[] = {"
|
||||
for p in params:
|
||||
print " { %s, %s }," % (p[0], p[1])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue