Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 63596

SDL2 (Simple DirectMedia Layer 2) is designed to provide platform independent access to various common multimedia devices. It is the new, current and updated version of SDL and recommended for new projects over legacy SDL1.2

0 votes

Updating object positions after screen moves. Is there a better way?

SDL2 can then render to a texture instead of rendering directly to the screen. …
amyinorbit's user avatar
9 votes
Accepted

Rescale pixel art scenery before rendering in SDL2

In SDL 2, you must set the scaling interpolation algorithm for the whole renderer, using SDL_SetHint (SDL_HINT_RENDER_SCALE_QUALITY, Value); where Value should be, in your case (pixel art) 0. 1 mea …
amyinorbit's user avatar