welp picking this project back up

This commit is contained in:
Ben Kyd
2021-02-12 00:43:19 +00:00
parent 2872ac6268
commit fb75f6b8d6
3 changed files with 9 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ Display::Display( int w, int h, std::string title )
{
mLogger << LOGGER_INFO << "Initializing display" << LOGGER_ENDL;
SDL_Init( SDL_INIT_VIDEO|SDL_INIT_AUDIO );
SDL_Init( SDL_INIT_VIDEO | SDL_INIT_AUDIO );
SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 8 );
SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 8 );

View File

@@ -17,9 +17,9 @@
#define __DEBUG
static const int VERSION_MAJOR = 1;
static const int VERSION_MINOR = 1;
static const int VERSION_PATCH = 0;
static const int VERSION_MAJOR = 0;
static const int VERSION_MINOR = 0;
static const int VERSION_PATCH = 1;
void version()
{
@@ -48,6 +48,7 @@ void Loop( Display* display )
// rendering here
display->NextFrame();
}
@@ -73,8 +74,7 @@ int main( int argc, char** argv )
Display display { WindowWidth, WindowHeight, version.str() };
Loop( &display );
return 0;
}

View File

@@ -1 +1,3 @@
// Threadpool for asset management and other such tasks
// Threadpool for asset management and other such tasks