#include "egluDefs.hpp"
#include "eglwDefs.hpp"
-#include "eglwEnums.hpp"
namespace eglw
{
~UniqueDisplay (void);
eglw::EGLDisplay operator* (void) const { return m_display; }
- operator bool (void) const { return m_display != EGL_NO_DISPLAY; }
+ operator bool (void) const;
private:
const eglw::Library& m_egl;
~UniqueSurface (void);
eglw::EGLSurface operator* (void) const { return m_surface; }
- operator bool (void) const { return m_surface != EGL_NO_SURFACE; }
+ operator bool (void) const;
private:
const eglw::Library& m_egl;
~UniqueContext (void);
eglw::EGLContext operator* (void) const { return m_context; }
- operator bool (void) const { return m_context != EGL_NO_CONTEXT; }
+ operator bool (void) const;
private:
const eglw::Library& m_egl;
~UniqueImage (void);
eglw::EGLImage operator* (void) const { return m_image; }
- operator bool (void) const { return m_image != EGL_NO_IMAGE_KHR; }
+ operator bool (void) const;
private:
const eglw::Library& m_egl;