Home
last modified time | relevance | path

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

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