mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-11 22:40:49 +01:00
update BMP to proper format for SDL2
This commit is contained in:
21
README.md
21
README.md
@@ -180,6 +180,27 @@ Compiled binary will be stored in:
|
||||
|
||||
build/binaries/mainExecutable
|
||||
|
||||
Copy required resources/dll to mainExecutable by command:
|
||||
|
||||
gradle prepare
|
||||
|
||||
### 02-sdl2-video
|
||||
|
||||
Graphic initialization example for SDL2.
|
||||
Initialize graphic interface, load BMP file and display it.
|
||||
|
||||
Commands (PowerShell):
|
||||
|
||||
gradle prepare mE
|
||||
cd build\binaries\mainExecutable
|
||||
.\main.exe
|
||||
|
||||
Commands (Shell):
|
||||
|
||||
gradle prepare mE
|
||||
cd build/binaries/mainExecutable
|
||||
./main
|
||||
|
||||
node
|
||||
----
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 83 KiB |
Reference in New Issue
Block a user