mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 01:47:41 +00:00
![]() Now we render directly to the window, scaling as appropriate. This fixes some concerns the render target introduced, like the quality of the final scaled output, how to step outside of the logical size temporarily to draw some things sharply at the native resolution, and loss of sub-pixel precision. Fixes #8736. |
||
---|---|---|
.. | ||
primitives.c | ||
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.