summaryrefslogtreecommitdiffstats
path: root/src/opengl/qopengldebug.cpp
diff options
context:
space:
mode:
authorTian Shilin <tianshilin@uniontech.com>2024-08-22 16:21:54 +0800
committerTian Shilin <tianshilin@uniontech.com>2024-08-28 08:28:24 +0800
commit03c547f1010868a0ef2f236c6980094efab7e12f (patch)
treef8f495d1a8c31d2f18310c7b0a1da03b463a8fad /src/opengl/qopengldebug.cpp
parent063dad967fbea9649683aa02f457c839e1ab56cb (diff)
fix: Redundant condition in isValidBasicType
When isValid is true, it must be true; when isValidis false, whether the conditional judgment is true ornot only depends on whether !result is true(eg: A | | (!A && B) is equivalent to A | | B.), so you can optimize the judgment condition to improve thereadability of the code. Pick-to: 6.8 Change-Id: I0231b83e0b50586dff2820b8d0dfc35edec36f70 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/opengl/qopengldebug.cpp')
0 files changed, 0 insertions, 0 deletions