part of synopsis and 2 lesson

This commit is contained in:
2018-12-04 00:29:47 +03:00
parent 3ac8a6653f
commit e31df382c7
4 changed files with 75 additions and 1 deletions

BIN
testSDL/Lesson1/Hello2 Executable file

Binary file not shown.

View File

@@ -10,7 +10,7 @@ int main()
cout << "SDL_Init error\n";
return 1;
}
SDL_Window* window = SDL_CreateWindow("Hello World!", 100, 100, 640, 480, SDL_WINDOW_SHOWN);
SDL_Window* window = SDL_CreateWindow("Hello World!", 300, 300, 640, 480, SDL_WINDOW_SHOWN);
if (window == nullptr)
{
cout << "Window create error\n";