view test/testnativew32.c @ 3057:089a77aebb7d

Added test program for SDL_CreateWindowFrom() Make sure OpenGL library is loaded before working with OpenGL windows, even those created with SDL_CreateWindowFrom()
author Sam Lantinga <slouken@libsdl.org>
date Mon, 09 Feb 2009 05:32:12 +0000
parents
children 4cf533f434d8
line wrap: on
line source


#include "testnative.h"

#ifdef TEST_NATIVE_WIN32

static void *CreateWindowWin32(int w, int h);
static void DestroyWindowWin32(void *window);

NativeWindowFactory Win32WindowFactory = {
    "win32",
    CreateWindowWin32,
    DestroyWindowWin32
};

static Display *dpy;

static void *
CreateWindowWin32(int w, int h)
{
    return NULL;
}

static void
DestroyWindowWin32(void *window)
{
}

#endif