mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-31 00:30:57 +00:00
Fix some mxe build issues
This commit is contained in:
parent
c59840683d
commit
a8efde1dd3
5 changed files with 6 additions and 3 deletions
|
@ -126,7 +126,7 @@ Ent_RemoveComponent (uint32_t ent, uint32_t comp, ecs_registry_t *registry)
|
|||
// if ind >= the last range, then it is outside the subpools
|
||||
if (range_count && ind < subpool->ranges[range_count - 1]) {
|
||||
uint32_t *range = find_range (subpool, ind);
|
||||
while (range - subpool->ranges < range_count) {
|
||||
while ((size_t) (range - subpool->ranges) < range_count) {
|
||||
uint32_t end = --*range;
|
||||
range++;
|
||||
if (ind < end) {
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
#include "r_internal.h"
|
||||
#include "vid_vulkan.h"
|
||||
|
||||
static const char *draw_pass_names[] = {
|
||||
static const char * __attribute__((used)) draw_pass_names[] = {
|
||||
"2d",
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue