diff options
author | Eric Engestrom <[email protected]> | 2018-05-18 15:53:58 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-05-29 17:44:13 +0100 |
commit | d3ca7bd45223aefc60174ad7c5957d3d5792192a (patch) | |
tree | 6b4ea9ed507e3eb152908b04670b63c887d9a555 /src/mesa/Makefile.am | |
parent | 1945231b48df8ffcfa2eb168f81c3f5984433b01 (diff) |
dri: fix error value returned by driGLFormatToImageFormat()
0 is not a valid value for the __DRI_IMAGE_FORMAT_* enum.
It is, however, the value of MESA_FORMAT_NONE, which two of the callers
(i915 & i965) checked for.
The other callers (that check for errors, ie. st/dri) already check for
__DRI_IMAGE_FORMAT_NONE.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.am')
0 files changed, 0 insertions, 0 deletions