I don’t know who has this problem like me, but I have a laptop freshly installed Ubuntu 14.04 32bit and SDL works fine just the screen goes to black and white after a 5 second.
I have installed the latest Ubuntu 14.04 64 bit to my PC, and the black and white effect is the same.
Is anybody know a solution how to solve this to not loose color?
I think you wanted to make it unlisted, not private (the latter
requires you to whitelist users, the former just makes it not appear
in your video list).
I think you wanted to make it unlisted, not private (the latter
requires you to whitelist users, the former just makes it not appear
in your video list).
Ubuntu turns windows to black and white when they aren’t responding to
window events for some time, to alert the user that the application
appears to be hung up.
This will go away if you put this somewhere in your drawing loop:
SDL_Event e;
while (SDL_PollEvent(&e)) {}
Eventually you’d want to actually examine those events, but just polling
for them and throwing them away will fix your problem for now.
Ubuntu turns windows to black and white when they aren’t responding to
window events for some time, to alert the user that the application
appears to be hung up.
This will go away if you put this somewhere in your drawing loop:
SDL_Event e;
while (SDL_PollEvent(&e)) {}
Eventually you’d want to actually examine those events, but just polling
for them and throwing them away will fix your problem for now.