Anonymous Maarten
|
b6ae281e97
Use #ifdef/#ifndef instead of #if defined/#if \!defined
|
3 years ago |
Sam Lantinga
|
b078122c53
Fixed Visual Studio warning 4701
|
3 years ago |
Anonymous Maarten
|
3472dc11d6
Fix uses of undefined macro identifiers (-Wundef)
|
3 years ago |
Ozkan Sezer
|
0ef85873a2
fixed uninitialized warnings from gcc7, gcc8, and gcc9.
|
3 years ago |
Ivan Mogilko
|
f360965db6
Fixed SDL_RenderSetVSync does not update flags if simulated vsync is on
|
3 years ago |
Sylvain
|
899ee8f75a
Change SDL_BLENDMODE_MUL for gl renderers
|
3 years ago |
Ryan C. Gordon
|
d898dbfe50
render: Make sure logical_target is bound when presenting.
|
3 years ago |
Sam Lantinga
|
698dbd8464
SDL_CreateWindow() has been simplified and no longer takes a window position.
|
3 years ago |
Sam Lantinga
|
f1c3d3be97
Default to using newer D3D renderers in SDL 3.0
|
3 years ago |
Sam Lantinga
|
bd2e2ee7aa
SDL_RenderTexture() and SDL_RenderTextureRotated() take floating point source coordinates
|
3 years ago |
Sam Lantinga
|
c2f8a478d8
Don't set a logical presentation mode by default
|
3 years ago |
Sylvain
|
dc74a67a57
SDL_UnlockTexture: change from 'int' to 'void'
|
3 years ago |
Sylvain
|
e2e5e670bf
Remove returns int from Destroy/Close/Unlock functions
|
3 years ago |
Sylvain
|
c5c94a6be6
Change return type from void to int, for functions that set an error
|
3 years ago |
Sam Lantinga
|
9d8f98c735
Don't change presentation modes when resizing the logical target
|
3 years ago |
Sylvain
|
fbe0352764
SDL_DestroyRenderer: drop all commands first
|
3 years ago |
Sam Lantinga
|
ec1b42557f
Fixed memory leak at shutdown (thanks @1bsyl!)
|
3 years ago |
Sam Lantinga
|
2a83093b36
Use a reasonable upper bound on the number of pixels we'll try to draw when traversing a line
|
3 years ago |
Sam Lantinga
|
14a4ce8b59
Fixed SDL_ScaleMode values for consistency
|
3 years ago |
Sam Lantinga
|
e5edce8e75
Fixed permissions on src/render/SDL_render.c (#7232)
|
3 years ago |
Sylvain Becker
|
cb6b8b0132
Simplify flags testing (#7220)
|
3 years ago |
Sam Lantinga
|
dcd17f5473
Renderer logical size is now implemented as a render target
|
3 years ago |
Sam Lantinga
|
6b137579ea
Windows default to fullscreen desktop mode if they don't pick an explicit video mode
|
3 years ago |
Sam Lantinga
|
22c69bccdf
Displays are now referenced by instance ID instead of index
|
3 years ago |
Anonymous Maarten
|
758c0dd6d8
Rename mouse BUTTON(DOWN|UP) event to BUTTON_(DOWN|UP)
|
3 years ago |
Sam Lantinga
|
bf4095359c
Removed duplicated window size events, and added SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED
|
3 years ago |
Sam Lantinga
|
7b50bae524
Renamed SDL events for clarity
|
3 years ago |
Francisco Javier Trujillo Mata
|
555183257d
Remove dummy flag
|
3 years ago |
Sam Lantinga
|
fde78d12f2
Updated copyright for 2023
|
3 years ago |
Sam Lantinga
|
9c1a9ecb4b
Removed non-float versions of SDL render API drawing functions
|
3 years ago |