X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=framework%2Fegl%2FegluUnique.hpp;h=aa24f5a8107b7a9b8c6b9aa00fac2e5e941d58c6;hb=92373caf27ae651958a25f53b6bf5aad8affced6;hp=f8964e752385356fe80611e0ea46411502a3a474;hpb=7576720484c2527f937b6ac3b9ebfd6f3c06973a;p=platform%2Fupstream%2FVK-GL-CTS.git diff --git a/framework/egl/egluUnique.hpp b/framework/egl/egluUnique.hpp index f8964e7..aa24f5a 100644 --- a/framework/egl/egluUnique.hpp +++ b/framework/egl/egluUnique.hpp @@ -25,7 +25,6 @@ #include "egluDefs.hpp" #include "eglwDefs.hpp" -#include "eglwEnums.hpp" namespace eglw { @@ -42,7 +41,7 @@ public: ~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; @@ -60,7 +59,7 @@ public: ~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; @@ -79,7 +78,7 @@ public: ~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; @@ -109,7 +108,7 @@ public: ~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;