mirror of
https://github.com/glest/glest-source.git
synced 2025-08-25 17:20:43 +02:00
- updated commandline too show usage when using wrong parameters
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include <SDL.h>
|
||||
#include <iostream>
|
||||
|
||||
#define MAIN_FUNCTION(X) int main(int argc, char **argv) \
|
||||
#define MAIN_FUNCTION(X) int main(int argc, const char **argv) \
|
||||
{ \
|
||||
if(SDL_Init(SDL_INIT_EVERYTHING) < 0) { \
|
||||
std::cerr << "Couldn't initialize SDL: " << SDL_GetError() << "\n"; \
|
||||
|
Reference in New Issue
Block a user