This website works better with JavaScript
Home
Explore
Help
Sign In
cpp
/
love2d.megasource
mirror of
https://github.com/love2d/megasource
Watch
2
Star
0
Fork
0
Files
Issues
0
Wiki
Branch:
main
Branches
Tags
11.x
12.x
dependabot/pip/libs/harfbuzz/dot-ci/fonttools-4.61.0
dependabot/pip/libs/harfbuzz/dot-ci/setuptools-78.1.1
main
11.5
11.4
11.3
11.1
11.2
11.0
0.10.2
0.10.1
0.10.0
love-0.9
love2d.megasour...
/
libs
/
SDL3
/
examples
/
renderer
/
02-primitives
Sasha Szpakowski
f27a1c24b3
update SDL to libsdl-org/SDL@b8036bd
11 months ago
..
README.txt
9e5eb1b018
update SDL3 to latest commit
1 year ago
primitives.c
8c4c8655aa
update SDL3 to 3.1.6.
1 year ago
thumbnail.png
f27a1c24b3
update SDL to libsdl-org/SDL@b8036bd
11 months ago
README.txt
This example creates an SDL window and renderer, and then draws some lines,
rectangles and points to it every frame.
This is just a quick overview of simple drawing primitives; futher examples
will explore them in more detail.