X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=libs%2Fpsys%2Fpattr.c;h=7c161cbc6e431fba29a1e591a6df984be73b5feb;hb=6bdfcf4ad3daddcd9d689deb15798403c89ce42b;hp=9f0f9adee588e22ee4ed594239cb9195af78ac01;hpb=fca3f24e31b3bbbe81ce0ef00da901480a2a92cc;p=andemo
diff --git a/libs/psys/pattr.c b/libs/psys/pattr.c
index 9f0f9ad..7c161cb 100644
--- a/libs/psys/pattr.c
+++ b/libs/psys/pattr.c
@@ -23,14 +23,13 @@ along with this program. If not, see .
#include
#include
-#ifdef __MSVCRT__
+#ifdef _WIN32
#include
#else
#include
#endif
#include "pattr.h"
-#include "psys_gl.h"
enum {
OPT_STR,
@@ -55,8 +54,8 @@ static void release_cfg_opt(struct cfgopt *opt);
static char *stripspace(char *str);
static void *tex_cls;
-static unsigned int (*load_texture)(const char*, void*) = psys_gl_load_texture;
-static void (*unload_texture)(unsigned int, void*) = psys_gl_unload_texture;
+static unsigned int (*load_texture)(const char*, void*);
+static void (*unload_texture)(unsigned int, void*);
void psys_texture_loader(unsigned int (*load)(const char*, void*), void (*unload)(unsigned int, void*), void *cls)