changeset 2581:a1c00531ee00 gsoc2008_force_feedback

Minor changes for it to compile.
author Edgar Simo <bobbens@gmail.com>
date Mon, 04 Aug 2008 11:29:19 +0000
parents 64fa227c01ce
children 9f0f0a532343
files src/video/win32/SDL_win32window.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c	Mon Aug 04 11:22:01 2008 +0000
+++ b/src/video/win32/SDL_win32window.c	Mon Aug 04 11:29:19 2008 +0000
@@ -420,18 +420,18 @@
 int
 SDL_HelperWindowCreate(void)
 {
-   HINSTANCE hInstance = pGetModuleHandleA(NULL);
+   HINSTANCE hInstance = GetModuleHandleA(NULL);
    const char *class_name = "SDLHelperWindowInputCatcher";
    const char *win_name = "SDLHelperWindowInputMsgWindow";
    WNDCLASSEX wce;
 
    ZeroMemory(&wce, sizeof (wce));
    wce.cbSize = sizeof(WNDCLASSEX);
-   wce.lpfnWndProc = RawWndProc;
+   wce.lpfnWndProc = NULL;
    wce.lpszClassName = class_name;
    wce.hInstance = hInstance;
 
-   SDL_HelperWindow = pCreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW,
+   SDL_HelperWindow = CreateWindowExA(0, class_name, win_name, WS_OVERLAPPEDWINDOW,
          CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
          CW_USEDEFAULT, HWND_MESSAGE, NULL, hInstance, NULL);
 
@@ -451,7 +451,7 @@
 SDL_HelperWindowDestroy(void)
 {
    if (SDL_HelperWindow) {
-      pDestroyWindow(SDL_HelperWindow);
+      DestroyWindow(SDL_HelperWindow);
       SDL_HelperWindow = NULL;
    }
 }