voxeling and that

This commit is contained in:
Ben
2019-10-10 21:41:32 +01:00
parent a9e736ec10
commit b2bfa01fc3
7 changed files with 81 additions and 36 deletions

View File

@@ -34,7 +34,7 @@ void Game::Setup(int w, int h) {
#endif
*m_logger << LOGGER_INFO << "Initializing display" << LOGGER_ENDL;
SDL_Init(SDL_INIT_EVERYTHING);
SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO);
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);