welp picking this project back up
This commit is contained in:
@@ -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 );
|
||||
|
||||
10
src/main.cpp
10
src/main.cpp
@@ -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;
|
||||
}
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
// Threadpool for asset management and other such tasks
|
||||
// Threadpool for asset management and other such tasks
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user