mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
[vulkan] Remove a dead function
I guess gcc missed it because it's inline.
This commit is contained in:
parent
dad17162bb
commit
d3afb0da50
1 changed files with 0 additions and 11 deletions
|
@ -1436,17 +1436,6 @@ Vulkan_Bsp_Shutdown (struct vulkan_ctx_s *ctx)
|
|||
free (bctx->default_skybox);
|
||||
}
|
||||
|
||||
static inline __attribute__((const)) int
|
||||
is_pow2 (unsigned x)
|
||||
{
|
||||
int count;
|
||||
|
||||
for (count = 0; x; x >>= 1)
|
||||
if (x & 1)
|
||||
count++;
|
||||
return count == 1;
|
||||
}
|
||||
|
||||
void
|
||||
Vulkan_LoadSkys (const char *sky, vulkan_ctx_t *ctx)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue