Results 1 to 3 of 3

Thread: Where is EGL_NO_IMAGE_KHR defined?

  1. #1

    Where is EGL_NO_IMAGE_KHR defined?

    EGL_NO_IMAGE_KHR is an external const: "extern const EGLImageKHR EGL_NO_IMAGE_KHR;"

    If I want to use EGL_NO_IMAGE_KHR in my code, to check the return value of eglCreateImageKHR(..), how would I do it?

  2. #2
    Junior Member
    Join Date
    Nov 2008

    Re: Where is EGL_NO_IMAGE_KHR defined?

    This is a bug in the eglext.h file. The line should be changed to:

    #define EGL_NO_IMAGE_KHR ((EGLImageKHR)0)

    This will be done in a (hopefully soon) update to the eglext.h on the khronos website, but for now you can just change the local copy of your eglext.h file.
    (Opinions are my own, and not necessarily shared by my company or others.)

  3. #3
    Join Date
    Sep 2003
    Silicon Valley

    Re: Where is EGL_NO_IMAGE_KHR defined?

    eglext.h was updated to #define EGL_NO_IMAGE_KHR several weeks ago.
    Jon Leech
    EGL & OpenGL Specification Editor / OpenGL ARB Ecosystem TSG Chair / Khronos API Registrar

Similar Threads

  1. Well defined ways of detecting product ID
    By codedivine in forum OpenCL
    Replies: 1
    Last Post: 10-13-2012, 10:11 PM
  2. What do you think of user defined clip plane
    By sichen78 in forum OpenGL ES
    Replies: 0
    Last Post: 06-01-2005, 09:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean