fix RGFW related warnings

This commit is contained in:
Lorenzo Torres 2026-01-07 02:54:16 +01:00
parent dadd2edaf1
commit 02f5c714bc
3 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
#define RENDERER_H #define RENDERER_H
#include "../core/types.h" #include "../core/types.h"
#ifndef RGFW_H #ifndef RGFW_HEADER
typedef struct RGFW_window RGFW_window; typedef struct RGFW_window RGFW_window;
#endif #endif

View file

@ -1,7 +1,7 @@
/* SPDX-License-Identifier:BSD-3-Clause */ /* SPDX-License-Identifier:BSD-3-Clause */
#include "vk.h"
#include "instance.h" #include "instance.h"
#include "../../core/log.h" #include "../../core/log.h"
#include "vk.h"
const char *extensions[] = { const char *extensions[] = {
#ifdef PLATFORM_MACOS #ifdef PLATFORM_MACOS

View file

@ -1,4 +1,5 @@
/* SPDX-License-Identifier:BSD-3-Clause */ /* SPDX-License-Identifier:BSD-3-Clause */
#include "vk.h"
#include "../renderer.h" #include "../renderer.h"
#include "instance.h" #include "instance.h"
#include "physical_device.h" #include "physical_device.h"
@ -11,7 +12,6 @@
#include "command.h" #include "command.h"
#include "sync.h" #include "sync.h"
#include "buffer.h" #include "buffer.h"
#include "vk.h"
#include "../../core/log.h" #include "../../core/log.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>