diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-09-21 16:37:53 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-09-21 18:20:19 +0900 |
commit | 956e03d6a6b9478dd8e77c81f426c0d371c5d7a1 (patch) | |
tree | 787bdda2831f47375b0f5ba38a59804dd1da02a3 /src/r600_shader.h | |
parent | ace455d1db4db3f9b8b434a3747acfa7e1273db4 (diff) |
Simplify drmmode_set_mode_major error handling
Initialize ret = FALSE and only set it to TRUE when we've succeeded.
(Ported from amdgpu commit 3bce0519a4008cf87c0e31a7a579e10f5dcdd2f3)
Diffstat (limited to 'src/r600_shader.h')
0 files changed, 0 insertions, 0 deletions