diff options
author | Daniel Czarnowski <[email protected]> | 2016-02-15 09:31:09 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-02-19 18:23:19 +0000 |
commit | e6f1a44d1407f3318d86ca1bcbc26c3479632e63 (patch) | |
tree | b7c80e5088b2e75651cfcc52f5f3d6e72ae75e62 /bin | |
parent | d1e1563bb63f08cdfec1b40b105bec7f343bc0b8 (diff) |
egl_dri2: set correct error code if swapbuffers fails
A return value of '-1' means that there was error during swap with a
window drawable, in this case we set error as EGL_BAD_NATIVE_WINDOW.
v2: coding style cleanup, better commit message
Signed-off-by: Matt Roper <[email protected]>
Cc: "11.0 11.1" <[email protected]
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions