Sam Lantinga
|
b6e97d9ff0
Fixed Xcode warnings
|
2 years ago |
Alberto Mardegan
|
66209135df
render: Fix line clipping with translated viewports
|
2 years ago |
Sam Lantinga
|
0fc3574464
Updated copyright for 2024
|
2 years ago |
Ryan C. Gordon
|
4339647d90
render: Clip lines before Bresenham algorithm generates points.
|
2 years ago |
Anonymous Maarten
|
d81d986858
cmake: fix uses of undefined macro identifiers (-Wundef)
|
2 years ago |
Sylvain Becker
|
f3419d8c04
Re-add SDL_assert() with non boolean ptr syntax (#8531)
|
2 years ago |
Sylvain Becker
|
a14b948b6c
[SDL2] pointer boolean (#8523)
|
2 years ago |
Simon McVittie
|
8ad043fc38
render: Enable clipping for zero-sized rectangles
|
2 years ago |
Sam Lantinga
|
36033e3832
Make it clear that you can't mix 2D rendering and the window surface API
|
2 years ago |
Sam Lantinga
|
3f1fd5abff
Updated source to match SDL function prototype style
|
2 years ago |
Ivan Mogilko
|
d78072fcd4
Fixed SDL_RenderSetVSync does not update flags if simulated vsync is on
|
3 years ago |
Sylvain
|
23bce27b26
Change SDL_BLENDMODE_MUL for gl renderers
|
3 years ago |
Sylvain
|
17515f4aef
Backport simplify flags PR #7220
|
3 years ago |
Francisco Javier Trujillo Mata
|
c5a09ca7a9
Remove dummy flag
|
3 years ago |
Sam Lantinga
|
0479df53ca
Updated copyright for 2023
|
3 years ago |
Sam Lantinga
|
3dbc6a40ae
render: only enable clipping when the rectangle is valid
|
3 years ago |
Sylvain
|
3e9ae3ea64
Fix wrong clang-tidy modification. This is an integer division. Thanks @meyraud705 (see PR #6725)
|
3 years ago |
Pierre Wendling
|
d0bbfdbfb8
Clang-Tidy fixes (#6725)
|
3 years ago |
Sam Lantinga
|
b8d85c6939
Update for SDL3 coding style (#6717)
|
3 years ago |
Sylvain Becker
|
fb0ce375f0
Cleanup add brace (#6545)
|
3 years ago |
Sylvain
|
1d7966df15
Remove un-needed check for NULL pointer. They were previously checked just before.
|
3 years ago |
Sam Lantinga
|
dd72f3f03d
Added comment for #endif
|
3 years ago |
Steven Noonan
|
3d35c08585
fix a few 'unused but set variable' and 'unused function' warnings
|
3 years ago |
Sam Lantinga
|
aefc6b5bb5
Renamed variables, index is the singular of indices
|
3 years ago |
Sylvain
|
e8a4c23ce5
Revert commit 790fa3156cfee847a7c0b34986de0cd7fdd7438f.
|
3 years ago |
Sylvain
|
790fa3156c
Fix warning: enumeration value 'SDL_BLENDMODE_INVALID' not explicitly handled in switch
|
3 years ago |
Sylvain
|
3d99d31026
Fixed bug #6401 - back-end can choose the order the triangles when rendering rects, attempt to fix small glitch rendering.
|
3 years ago |
Sylvain
|
285cbf6fdd
Revert commit 485bb3565b6da24620e4eedde837fbfbc5cee6d2.
|
3 years ago |
Sylvain
|
485bb3565b
Fixed bug #6401 - change the order of triangles when using RenderCopy, RenderCopyEx and RenderFillRect
|
3 years ago |
Sam Lantinga
|
e2753e19e8
Calculate simulated vsync interval based on display refresh rate
|
3 years ago |