Forum Discussion
broozar
11 years agoHonored Guest
GL_SRGB_ALPHA8 definition
hi all,
i am trying to move to 0.7 and for some reason, GL_SRGB_ALPHA8 as in
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?
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
- broozarHonored Guestah, 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? - broozarHonored Guestummm... 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...
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device