Searched refs:GL_hdc (Results 1 – 2 of 2) sorted by relevance
292 GL_hdc = GetDC(SDL_Window); in WIN_GL_SetupWindow()293 if ( GL_hdc == NULL ) { in WIN_GL_SetupWindow()301 pixel_format = ChoosePixelFormat(GL_hdc, &GL_pfd); in WIN_GL_SetupWindow()307 if ( !SetPixelFormat(GL_hdc, pixel_format, &GL_pfd) ) { in WIN_GL_SetupWindow()321 DescribePixelFormat(GL_hdc, pixel_format, sizeof(GL_pfd), &GL_pfd); in WIN_GL_SetupWindow()323 GL_hrc = this->gl_data->wglCreateContext(GL_hdc); in WIN_GL_SetupWindow()385 if ( GL_hdc ) { in WIN_GL_ShutDown()386 ReleaseDC(SDL_Window, GL_hdc); in WIN_GL_ShutDown()387 GL_hdc = NULL; in WIN_GL_ShutDown()403 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