g_hDC = GetDC( g_hWnd ); PixelFormat = ChoosePixelFormat( g_hDC, &pfd ); SetPixelFormat( g_hDC, PixelFormat, &pfd); g_hRC = wglCreateContext( g_hDC ); wglMakeCurrent( g_hDC, g_hRC );
wglMakeCurrent( g_hDC, g_hRC );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)