part of synopsis and 2 lesson
This commit is contained in:
BIN
testSDL/Lesson1/Hello2
Executable file
BIN
testSDL/Lesson1/Hello2
Executable file
Binary file not shown.
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user