Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
broozar's avatar
broozar
Honored Guest
11 years ago

GL_SRGB_ALPHA8 definition

hi all,

i am trying to move to 0.7 and for some reason, GL_SRGB_ALPHA8 as in

ovr_CreateSwapTextureSetGL(HMD, GL_SRGB_ALPHA8,[...] 


always gives me an "unidentified" error. a solution-wide search also revealed nothing besides the commented block in OVR_CAPI_GL.h - where is it defined? alternatively, what is its actual value, so I can just put it in there?

2 Replies

  • broozar's avatar
    broozar
    Honored Guest
    ah, found it in LibOVRKernel/Src/GL/CAPI_GLE(_GL).h which was in the GL directory I had not included. looking at Win32_GLAppUtil.h in RoomTiny made it clearer.
    however including CAPI_GLE.h file won't make GL_SRGB_ALPHA8 recognized in my project either... is there some trick to that?
  • broozar's avatar
    broozar
    Honored Guest
    ummm... is this a typo in the docs? i can only find a #define for GL_SRGB8_ALPHA8 (with two 8s), not GL_SRGB_ALPHA8 as stated by the docs...