diff options
author | Andres Gomez <[email protected]> | 2018-02-01 17:15:14 +0200 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2018-02-02 16:32:30 +0200 |
commit | 4761a8fea604b11e31c4e044ffc6d3d0b068a621 (patch) | |
tree | 851bbf670e71caa1f2234f227f760d935b855681 /src/glx/tests/fake_glx_screen.cpp | |
parent | 51d36f5e02d7083e52b5617bf44de0105c611db4 (diff) |
i965: check if upload is 0 explicitely, when downsizing a format
downsize_format_if_needed takes an integer as number of uploads
parameter. Hence, let's do an integer comparation instead of a boolean
check, since that is confusing.
Since we are at it, fix a couple of wrongly tabbed indents.
Cc: Alejandro Piñeiro <[email protected]>
Cc: Kenneth Graunke <[email protected]>
Signed-off-by: Andres Gomez <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Alejandro Piñeiro <[email protected]>
Diffstat (limited to 'src/glx/tests/fake_glx_screen.cpp')
0 files changed, 0 insertions, 0 deletions