formatted license comment
This commit is contained in:
parent
db5a728846
commit
0ffdb8c3ac
30 changed files with 16218 additions and 14914 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
/* SPDX-License-Identifier:BSD-3-Clause */
|
||||
|
||||
#define RGFW_VULKAN
|
||||
#define RGFW_IMPLEMENTATION
|
||||
|
|
@ -14,18 +14,17 @@
|
|||
#include "../rendering/renderer.h"
|
||||
|
||||
/*
|
||||
* This function is the entrypoint for the whole
|
||||
* game. Its role is to initialize Vulkan, create
|
||||
* the renderer and start the game loop.
|
||||
* This function is the entrypoint for the whole game. Its role is to
|
||||
* initialize Vulkan, create the renderer and start the game loop.
|
||||
*/
|
||||
int platform_run(i32 argc, u8 **argv)
|
||||
int platform_run(i32 argc, u8 * *argv)
|
||||
{
|
||||
(void) argc;
|
||||
(void) argv;
|
||||
(void)argc;
|
||||
(void)argv;
|
||||
|
||||
log_info("Using Vulkan as rendering backend.\n");
|
||||
|
||||
RGFW_window* win = RGFW_createWindow("topaz", 0, 0, 800, 600, RGFW_windowCenter | RGFW_windowNoResize | RGFW_windowHide);
|
||||
RGFW_window *win = RGFW_createWindow("topaz", 0, 0, 800, 600, RGFW_windowCenter | RGFW_windowNoResize | RGFW_windowHide);
|
||||
RGFW_window_show(win);
|
||||
RGFW_window_setExitKey(win, RGFW_escape);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue