Searched refs:GL_hdc (Results 1 – 2 of 2) sorted by relevance
298 GL_hdc = GetDC(SDL_Window); in WIN_GL_SetupWindow()299 if ( GL_hdc == NULL ) { in WIN_GL_SetupWindow()313 pixel_format = ChoosePixelFormat(GL_hdc, &GL_pfd); in WIN_GL_SetupWindow()319 if ( !SetPixelFormat(GL_hdc, pixel_format, &GL_pfd) ) { in WIN_GL_SetupWindow()333 DescribePixelFormat(GL_hdc, pixel_format, sizeof(GL_pfd), &GL_pfd); in WIN_GL_SetupWindow()335 GL_hrc = this->gl_data->wglCreateContext(GL_hdc); in WIN_GL_SetupWindow()397 if ( GL_hdc ) { in WIN_GL_ShutDown()398 ReleaseDC(SDL_Window, GL_hdc); in WIN_GL_ShutDown()399 GL_hdc = NULL; in WIN_GL_ShutDown()415 if ( ! this->gl_data->wglMakeCurrent(GL_hdc, GL_hrc) ) { in WIN_GL_MakeCurrent()[all …]
34 HDC GL_hdc; member60 #define GL_hdc (this->gl_data->GL_hdc) macro