diff options
author | Chia-I Wu <[email protected]> | 2010-01-27 23:55:58 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-01-28 17:28:47 +0800 |
commit | a933259daa98615ad7473c53623a96f612e9a311 (patch) | |
tree | 8731dc0829c7c17adf09d498ab8872e3ad42ec41 /src/egl/main/egldisplay.h | |
parent | 8f81769148eab0042ffb7192a702350275648715 (diff) |
egl: Use a boolean to indicate whether a display is initialized.
The driver pointer of the display was used to decide whether a display
is initialized. Use a boolean for that purpose allows accessing the
driver of an uninitialized display.
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r-- | src/egl/main/egldisplay.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 8f74ad23a87..4aea10c3eb3 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -49,6 +49,7 @@ struct _egl_display EGLNativeDisplayType NativeDisplay; + EGLBoolean Initialized; /**< True if the display is initialized */ _EGLDriver *Driver; void *DriverData; /* private to driver */ |