egl: additional error checking in _eglBind/ReleaseTexImage()
[mesa.git] / src / egl / main / eglsurface.h
index df1e70122e25c5c5d746206d3bc4b96c9f0c25e8..50f965b5cb7bd557b6a0dca689d5542ffebd1aeb 100644 (file)
@@ -16,6 +16,7 @@ struct _egl_surface
    /* May need reference counting here */
    EGLBoolean IsBound;
    EGLBoolean DeletePending;
+   EGLBoolean BoundToTexture;
 
    EGLint Type; /* one of EGL_WINDOW_BIT, EGL_PIXMAP_BIT or EGL_PBUFFER_BIT */
    EGLint Width, Height;