Minimal Windowless OpenGL Context Initialization

前端 未结 3 1268
栀梦
栀梦 2021-01-02 16:59

How can I initialize a windowless OpenGL context with the minimal amount of code?

I\'ve read here that you can use wglCreateContextAttribsARB to create

3条回答
  •  半阙折子戏
    2021-01-02 17:27

    another stuff:

    HDC  hdc = CreateDC(L"DISPLAY",NULL,NULL,NULL);
    

    But ReleaseDC not work with it.DeleteDC does.

提交回复
热议问题