Home
last modified time | relevance | path

Searched refs:GL_hdc (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
DSDL_wingl.c298 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 …]
DSDL_wingl_c.h34 HDC GL_hdc; member
60 #define GL_hdc (this->gl_data->GL_hdc) macro