共用方式為


使轉譯內容不是最新的

若要中斷與執行緒的轉譯內容連結,請使其不是最新的。 您可以藉由呼叫 wglMakeCurrent 函式,並將參數設定為 Null來執行此動作。 以下是這個簡單工作的範例。

// detach the current rendering context from the thread  
wglMakeCurrent(NULL, NULL);