Make sure OpenGL library is loaded before working with OpenGL windows, even those created with SDL_CreateWindowFrom() --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403521
28 lines
398 B
C
28 lines
398 B
C
|
|
#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
|