comparison src/video/wincommon/SDL_wingl.c @ 766:ed57c876700d

Date: Wed, 26 Nov 2003 01:52:02 +0800 From: "Andy Pfiffer" Subject: [SDL] patch: PocketPC 2000 diffs for release_1_2_6 I was making a backup of my current workspace of SDL for PocketPC, and thought I would send out my diffs. Apologies in advance if the patch has become whitespace mangled. These diffs are relative to CVS tag release_1_2_6, and contain (I think) all changes that have been mentioned on the mailing list in the last few months. I only have PocketPC 2000 & an ARM-based device (iPaq 3635), and I only use Embedded Visual Tools 3.0, so I can't say for sure if it breaks other PocketPC 200[023] builds.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 04 Jan 2004 15:48:44 +0000
parents 92a933bf2f0f
children b8d311d90021
comparison
equal deleted inserted replaced
765:4c2ba6161939 766:ed57c876700d
77 status = -1; 77 status = -1;
78 } 78 }
79 return(status); 79 return(status);
80 } 80 }
81 81
82 #ifdef HAVE_OPENGL
82 static void Init_WGL_ARB_extensions(_THIS) 83 static void Init_WGL_ARB_extensions(_THIS)
83 { 84 {
84 HWND hwnd; 85 HWND hwnd;
85 HDC hdc; 86 HDC hdc;
86 HGLRC hglrc; 87 HGLRC hglrc;
125 this->gl_data->wglDeleteContext(hglrc); 126 this->gl_data->wglDeleteContext(hglrc);
126 } 127 }
127 ReleaseDC(hwnd, hdc); 128 ReleaseDC(hwnd, hdc);
128 DestroyWindow(hwnd); 129 DestroyWindow(hwnd);
129 } 130 }
131 #endif /* !HAVE_OPENGL */
130 132
131 int WIN_GL_SetupWindow(_THIS) 133 int WIN_GL_SetupWindow(_THIS)
132 { 134 {
133 int retval; 135 int retval;
134 #ifdef HAVE_OPENGL 136 #ifdef HAVE_OPENGL