mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
Make sure OpenGL library is loaded before working with OpenGL windows, even those created with SDL_CreateWindowFrom()
29 lines
398 B
C
29 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
|