X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=libs%2Fimago%2Fsrc%2Fimago_gl.c;h=f6371cf99da89dd5e86c773074e1e7493a62c870;hb=f73ffe705cb41dcf9cd5adfd1ec2ee5a399a45a1;hp=b69efb5c074b27d5d4b9009056bff6c1da9dfc7d;hpb=8c70193a723f9dfbea3655f336d10eff644d0f6f;p=andemo diff --git a/libs/imago/src/imago_gl.c b/libs/imago/src/imago_gl.c index b69efb5..f6371cf 100644 --- a/libs/imago/src/imago_gl.c +++ b/libs/imago/src/imago_gl.c @@ -285,7 +285,7 @@ unsigned int img_gltexture_read(struct img_io *io) #endif #endif -#ifdef WIN32 +#ifdef _WIN32 #include #endif @@ -301,7 +301,7 @@ static int load_glfunc(void) gl_pixel_storei = (gl_pixel_storei_func)dlsym(RTLD_DEFAULT, "glPixelStorei"); #endif -#ifdef WIN32 +#ifdef _WIN32 HANDLE dll = LoadLibrary("opengl32.dll"); if(dll) { gl_gen_textures = (gl_gen_textures_func)GetProcAddress(dll, "glGenTextures");