Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
2k views

SDL_RenderPresent is writing over the previous frame

Whenever I call SDL_RenderPresent, the previous frame is replaced with black before the new frame is displayed. It's almost like when I call ...
EKW's user avatar
  • 159
0 votes
1 answer
591 views

SDL_RenderCopy to set location

I'm coding a game's GUI in SDL2 and c++, I'm using SDL_RenderCopy to load the buttons on to the screen, but don't know how to get buttons in specific spots eg. bottom left corner, slightly below ...
ciaran wickham's user avatar
0 votes
1 answer
747 views

How do I perform an Iris Wipe transition, using C++ in SDL 2.0?

How do I perform image masking/clipping using an arbitrary shape like a circle? I want to do an Iris Wipe transition, similar to in the movies. By Iris transition, I mean the circle transition ...
user2300947's user avatar
1 vote
1 answer
2k views

SDL2 linux fullscreen issue at lower-than-desktop resolution

Having a problem trying to get proper fullscreen in linux. I'm using 1440x900 on desktop. When i set SDL to use 1280x720 as fullscreen, it does change screen resolution. But if i drag the mouse ...
DhP's user avatar
  • 121