eliminat soport per a arguments
This commit is contained in:
@@ -10,12 +10,10 @@ Actualizando a la versión "Arcade Edition" en 08/05/2024
|
||||
#define SDL_MAIN_USE_CALLBACKS 1
|
||||
#include <SDL3/SDL_main.h>
|
||||
|
||||
#include <span> // Para span
|
||||
|
||||
#include "director.hpp" // Para Director
|
||||
|
||||
SDL_AppResult SDL_AppInit(void** appstate, int argc, char* argv[]) {
|
||||
*appstate = new Director(argc, std::span<char*>(argv, argc));
|
||||
SDL_AppResult SDL_AppInit(void** appstate, int /*argc*/, char** /*argv*/) {
|
||||
*appstate = new Director();
|
||||
return SDL_APP_CONTINUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user