summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egldisplay.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-01-27 23:55:58 +0800
committerChia-I Wu <[email protected]>2010-01-28 17:28:47 +0800
commita933259daa98615ad7473c53623a96f612e9a311 (patch)
tree8731dc0829c7c17adf09d498ab8872e3ad42ec41 /src/egl/main/egldisplay.h
parent8f81769148eab0042ffb7192a702350275648715 (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.h1
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 */