test/testnative.h
changeset 5062 e8916fe9cfc8
parent 3061 94dd49f6b005
child 5535 96594ac5fd1a
equal deleted inserted replaced
5061:9e9940eae455 5062:e8916fe9cfc8
    13     const char *tag;
    13     const char *tag;
    14     void *(*CreateNativeWindow) (int w, int h);
    14     void *(*CreateNativeWindow) (int w, int h);
    15     void (*DestroyNativeWindow) (void *window);
    15     void (*DestroyNativeWindow) (void *window);
    16 } NativeWindowFactory;
    16 } NativeWindowFactory;
    17 
    17 
    18 #ifdef SDL_VIDEO_DRIVER_WIN32
    18 #ifdef SDL_VIDEO_DRIVER_WINDOWS
    19 #define TEST_NATIVE_WIN32
    19 #define TEST_NATIVE_WINDOWS
    20 extern NativeWindowFactory Win32WindowFactory;
    20 extern NativeWindowFactory WindowsWindowFactory;
    21 #endif
    21 #endif
    22 
    22 
    23 #ifdef SDL_VIDEO_DRIVER_X11
    23 #ifdef SDL_VIDEO_DRIVER_X11
    24 #define TEST_NATIVE_X11
    24 #define TEST_NATIVE_X11
    25 extern NativeWindowFactory X11WindowFactory;
    25 extern NativeWindowFactory X11WindowFactory;