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 |
Sam Lantinga
|
208964f038
Reset the simulated vsync presentation timeline if it's been too long since the last present
|
3 years ago |
Sam Lantinga
|
1663cb4196
Reset simulated presentation timeline when vsync status changes
|
3 years ago |
Sam Lantinga
|
d744aafb05
Added support for simulated vsync in the renderer
|
3 years ago |
Sam Lantinga
|
50c5d23f7d
Round coordinates so very small floating point values don't turn into 0x80000000
|
3 years ago |
Ethan Lee
|
a28f426acb
render: Only update size/scale/viewport when moving to a new display, rather than all window movement.
|
3 years ago |
Daniel Santos
|
147a71b976
Finish dummy driver
|
3 years ago |
Daniel Santos
|
2660449c6c
Add dummy driver
|
3 years ago |
Sylvain
|
314bb5a1ed
Fixed bug #5850: Android EGL_BAD_ACCESS because of viewport command while turning the screen off/on.
|
3 years ago |
Sam Lantinga
|
adc6875870
Added SDL_copyp to avoid size mismatch when copying values (thanks @1bsyl!)
|
3 years ago |
Ryan C. Gordon
|
ded6c22efb
render: Corrected wrong SDL_memcpy() sizes for viewport, cliprect.
|
3 years ago |
Sylvain
|
2cc2260435
Fixed bug #5768 - SDL_RenderGeometry's software backend failed to render when texture coordinates are reversed
|
3 years ago |
chalonverse
|
4082821822
DirectX 12 Renderer (#5761)
|
3 years ago |
Eddy Jansson
|
9e5cbf034a
Disallow non-positive allocation.
|
3 years ago |
Sam Lantinga
|
b9fe6ba0e7
Fixed compile warnings
|
3 years ago |
Sylvain
|
1ede941f5c
SDL_render.c: internally change viewport/cliprect type from SDL_FRect to SDL_DRect (double precision). (see bug #5547)
|
3 years ago |
pionere
|
0adb67017b
avoid NullPointer in SDL_GetRenderTarget
|
3 years ago |
Ethan Lee
|
cb81630816
render: Update the size/scale/viewport on moves, in addition to resizes.
|
3 years ago |
Cameron Cawley
|
57118fb7de
render: Fix setting the scale mode for non-native textures
|
4 years ago |
Mathieu Eyraud
|
1db47d468a
Fix potential memory leak in QueueCmdFillRects
|
4 years ago |
Ryan C. Gordon
|
4fe7b2cbd1
static analysis: Fixed several complaints from codechecker.
|
4 years ago |