JoeyDeVries / LearnOpenGL

Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
https://learnopengl.com
Other
10.97k stars 2.8k forks source link

Question, regarding creating OpenGL Context #182

Open leeyunhome opened 4 years ago

leeyunhome commented 4 years ago

Hello,

Thank you for good lectures. Sorry for asking questions not related to the lecture.

Is it possible to initialize only the OpenGL context without creating a window when using glfw? image

Thank you.

rbarkmore commented 4 years ago

You probably have found your answer already by searching the internet, but if not this link may be of interest:

https://www.glfw.org/docs/latest/context.html#context_offscreen

leeyunhome commented 4 years ago

@rbarkmore Thank you :)