Sam Lantinga
|
fe3a33a092
Use RenderGeometry for drawing lines at all scales
|
4 anni fa |
Sam Lantinga
|
1694782b2a
Remove redundant work when render scale is 1.0
|
4 anni fa |
Sam Lantinga
|
2026a78dc2
Don't flush in RenderDraw*WithRects()
|
4 anni fa |
Ryan C. Gordon
|
cc2013378d
render: Fixed some compiler warnings.
|
4 anni fa |
Sylvain
|
8ea8b2e697
Use QueueDrawLine if provided, otherwise use RenderGeometry
|
4 anni fa |
Sylvain Becker
|
c498727471
render: Use RenderGeometry to draw lines
|
4 anni fa |
Sam Lantinga
|
120c76c84b
Updated copyright for 2022
|
4 anni fa |
Sylvain
|
3d5fcb5da6
Fix warning
|
4 anni fa |
Sylvain
|
4342e6bd21
SDL_render.c: lighten the cast syntax
|
4 anni fa |
Alex Szpakowski
|
3a5e148b13
Renderer backends use SDL_Color instead of int for geometry colors.
|
4 anni fa |
Sylvain
|
b7885abc44
Fixed bug #5087: SDL_RenderGeometryRaw() passes colors as int* instead of SDL_Color*
|
4 anni fa |
Sylvain
|
8927d73b1c
RenderGeometry: simplify casting (Thanks Daniel Gibson)
|
4 anni fa |
Sylvain
|
3e43d6e34b
SDL_RenderGeometry: remove some warning "dereferencing type-punned pointer might break strict-aliasing"
|
4 anni fa |
Sylvain
|
d09f80ef18
SDL_DrawPointsF: fix error message typo
|
4 anni fa |
Sylvain
|
6dafc85017
SDL_DrawLines: minor simpification:
|
4 anni fa |
Sylvain
|
a0818a63e3
Fixed bug #5071 - Float conversion warnings in SDL_render.c (see also #5003)
|
4 anni fa |
Sylvain
|
e14d10263c
Change viewport and cliprect to float version: from SDL_Rect to SDL_FRect
|
4 anni fa |
Ozkan Sezer
|
e18be04bc6
Fixed undefined behavior in QueueCmdSetDrawColor()
|
4 anni fa |
Sylvain
|
161dd83c9a
Don´t use "trunc" as var name, since it's also a function
|
4 anni fa |
Sylvain
|
49369142bd
Fixed bug #4625: with integer scale, viewport (as reported by SDL_RenderGetViewport) becomes -2147483648x-2147483648
|
4 anni fa |
Sylvain
|
70c8d20a46
Revert previous commit a50ca98e2b9ca10368b62e93b6a0977dc68fd584 (see bug #4625)
|
4 anni fa |
Sylvain
|
a50ca98e2b
Fixed bug #4625 - SDL_RenderSetLogicalSize issues
|
4 anni fa |
Sam Lantinga
|
6c4b4ee7a6
Don't assert on API parameters
|
4 anni fa |
Eric Wasylishen
|
0d98793693
testwm2: Fix video modes menu hit detection when highdpi or logical size used (#4936)
|
4 anni fa |
Sylvain
|
4960cc3dcb
Fixed a few warnings
|
4 anni fa |
Sylvain
|
b793394590
SDL_Renderer: make clear that we use render geometry for fillrect/copy/copyex when there is no specific back-end implementation (currently software, PSP, directfb)
|
4 anni fa |
Sylvain
|
502e9c3b45
SDL_Renderer simplifications:
|
4 anni fa |
Sylvain
|
70b10c753d
Use correct indices when using RenderGeometry / FillRects
|
4 anni fa |
Sylvain
|
16beed9aeb
Less code since color is constant when done with triangles
|
4 anni fa |
Sylvain
|
37c39d5cb4
Use geometry to implement FillRects
|
4 anni fa |