Forum Discussion

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

Oculus PC SDK 1.3 (Oculus Rift CV1) + GLFW3

Hello all,

I'm trying to port my little-open-source-c-game library to Oculus Rift CV1 and I got some problems when trying to create Oculus window/context with GLFW3. I just get a black screen (desktop mirror texture and in the glasses). It seems that two windows/context are created separately, one by GLFW3 (that I can draw to) and one by Oculus SDK.

This is my C library: www.raylib.com (https://github.com/raysan5/raylib)
This is a simple sample test with GLFW3: https://github.com/raysan5/raylib/tree/develop/examples/oculus_glfw_sample

Please, someone has an Oculus SDK 1.3 + GLFW3 sample (i.e a triangle)?

Many thanks! 

11 Replies