• Ryan C. Gordon's avatar
    Date: Sun, 14 Sep 2003 17:04:55 -0400 · 794bba8f
    Ryan C. Gordon authored
    From: Philip D.S. Thoren <pthoren@cs.uml.edu>
    Reply-To: "sdl@libsdl.org" <sdl@libsdl.org>
    To: "sdl@libsdl.org" <sdl@libsdl.org>
    Subject: [SDL] BUG in src/video/windx5/SDL_dx5events.c
    
       I tracked down a bug that crashed my program on Windows *all* the
    time.
    
        FILE: src/video/windx5/SDL_dx5events.c
    
        FUNCTION: handle_mouse
        BUG:
            SDL_PublicSurface is being dereferenced when it is NULL.
                   I added the following to the very begining of handle_mouse
            and it solved my crashing problems:
    
            if (SDL_PublicSurface == NULL) return;
    
    ~ Philip D.S. Thoren
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40718
    794bba8f
Name
Last commit
Last update
..
.cvsignore Loading commit data...
Makefile.am Loading commit data...
SDL_dx5events.c Loading commit data...
SDL_dx5events_c.h Loading commit data...
SDL_dx5video.c Loading commit data...
SDL_dx5video.h Loading commit data...
SDL_dx5yuv.c Loading commit data...
SDL_dx5yuv_c.h Loading commit data...
directx.h Loading commit data...