Просмотр исходного кода

Fixed window title for chapter 8

chalonverse 8 лет назад
Родитель
Сommit
eca5ff04e7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Chapter08/Game.cpp

+ 1 - 1
Chapter08/Game.cpp

@@ -52,7 +52,7 @@ bool Game::Initialize()
 	// Force OpenGL to use hardware acceleration
 	SDL_GL_SetAttribute(SDL_GL_ACCELERATED_VISUAL, 1);
 	
-	mWindow = SDL_CreateWindow("Game Programming in C++ (Chapter 5)", 100, 100,
+	mWindow = SDL_CreateWindow("Game Programming in C++ (Chapter 8)", 100, 100,
 							   1024, 768, SDL_WINDOW_OPENGL);
 	if (!mWindow)
 	{