summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2017-06-19 00:16:51 +0100
committerEric Engestrom <eric@engestrom.ch>2017-06-21 21:42:14 +0100
commit4a1238a452a7e49a6717506ffdbaeab18d90a6be (patch)
tree5af8a8989085fbfdf2d01a42135ac14a278f32ca /src/glx
parent60f984262c4d4c3c3828eb2eec3dc07c63922ece (diff)
egl: turn one more boolean `int` into a `bool`
Same as the previous commit, but this one was split out because it's a bit more complicated: this field is given as a pointer to a function, so the function had to be changed as well, and the function was use in a bunch of places, which needed updating as well. Signed-off-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/dri3_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h
index 082237781c8..1d3c03f9997 100644
--- a/src/glx/dri3_priv.h
+++ b/src/glx/dri3_priv.h
@@ -101,7 +101,7 @@ struct dri3_screen {
void *driver;
int fd;
- int is_different_gpu;
+ bool is_different_gpu;
int show_fps_interval;