mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
python: Use spaces, not tabs
Python 3 doesn't allow mixing spaces and tabs in a script, contrarily to Python 2. Signed-off-by: Mathieu Bridon <bochecha@daitauha.fr> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
This commit is contained in:
parent
0f7b18fa0d
commit
e5a8d51e54
1 changed files with 4 additions and 4 deletions
|
|
@ -612,10 +612,10 @@ class PrintGlxReqSize_c(PrintGlxReqSize_common):
|
|||
if s == 0: s = 1
|
||||
|
||||
sig += "(%u,%u)" % (f.offset_of(p.counter), s)
|
||||
if size == '':
|
||||
size = p.size_string()
|
||||
else:
|
||||
size = "safe_add(%s, %s)" % (size, p.size_string())
|
||||
if size == '':
|
||||
size = p.size_string()
|
||||
else:
|
||||
size = "safe_add(%s, %s)" % (size, p.size_string())
|
||||
|
||||
# If the calculated signature matches a function that has
|
||||
# already be emitted, don't emit this function. Instead, add
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue