[build] Fix windows builds

More bitrot.
This commit is contained in:
Bill Currie 2022-12-02 17:33:26 +09:00
parent 99b568c208
commit 7c4ee70d9e
4 changed files with 4 additions and 2 deletions

View file

@ -38,6 +38,7 @@
# include <windows.h>
# define GLAPIENTRY WINAPI
# undef LoadImage
# undef E_POINTER
# else
# ifdef APIENTRY
# define GLAPIENTRY APIENTRY

View file

@ -14,6 +14,7 @@
# include <windows.h>
# define GLAPIENTRY WINAPI
# undef LoadImage
# undef E_POINTER
# else
# ifdef APIENTRY
# define GLAPIENTRY APIENTRY

View file

@ -823,7 +823,7 @@ build_shadow_maps (lightingctx_t *lctx, vulkan_ctx_t *ctx)
lr->framebuffer = create_framebuffer(lr, ctx);
}
Sys_MaskPrintf (SYS_vulkan,
"shadow maps: %d layers in %zd images: %zd\n",
"shadow maps: %d layers in %zd images: %"PRId64"\n",
totalLayers, lctx->light_images.size,
lctx->shadow_resources->size);
}

View file

@ -117,7 +117,7 @@ VID_shutdown (void *data)
Win_CloseDisplay ();
}
static v oid
static void
Win_VID_SetPalette (byte *palette, byte *colormap)
{
viddef.colormap8 = colormap;