The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL 2.0.3 vs git/hg HEAD colors are much darker?
Sparks


Joined: 01 Jun 2013
Posts: 47

Can anyone explain this?

Top one is using SDL git mirror repo.
Bottom one is using SDL 2.0.3.
This is run on the same machine, windows 7.

I don't see any commits that have to do with color/brightness/gamma from the release of 2.0.3 to hg/git HEAD of b577c4753421, so, what could explain why 2.0.3 is so much darker than the git/hg repo?
Re: SDL 2.0.3 vs git/hg HEAD colors are much darker?
Sparks


Joined: 01 Jun 2013
Posts: 47
Sparks wrote:

Can anyone explain this?

Top one is using SDL git mirror repo.
Bottom one is using SDL 2.0.3.
This is run on the same machine, windows 7.

I don't see any commits that have to do with color/brightness/gamma from the release of 2.0.3 to hg/git HEAD of b577c4753421, so, what could explain why 2.0.3 is so much darker than the git/hg repo?

Also note, they were both run in a window, not full screen, and I am not using any special calls like SDL_SetWindowBrightness() / SDL_GetWindowBrightness() / SDL_SetWindowGammaRamp() / SDL_GetWindowGammaRamp() / SDL_CalculateGammaRamp().
SDL 2.0.3 vs git/hg HEAD colors are much darker?
Driedfruit
Guest

Platform/renderer backend? First thing coming to mind is the ImageIO
gamma fix on OSX, although I don't remember when exactly was that
committed.

On Sun, 01 Mar 2015 17:57:53 +0000
"Sparks" wrote:

Quote:

Sparks wrote:
Quote:
[Image: http://s16.postimg.org/ju48rfl51/SDL_diff.png ]
Can anyone explain this?

Top one is using SDL git mirror repo.
Bottom one is using SDL 2.0.3.
This is run on the same machine, windows 7.

I don't see any commits that have to do with color/brightness/gamma
from the release of 2.0.3 to hg/git HEAD of b577c4753421, so, what
could explain why 2.0.3 is so much darker than the git/hg repo?

Also note, they were both run in a window, not full screen, and I am
not using any special calls like SDL_SetWindowBrightness() /
SDL_GetWindowBrightness() / SDL_SetWindowGammaRamp() /
SDL_GetWindowGammaRamp() / SDL_CalculateGammaRamp().







--
driedfruit
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Re: SDL 2.0.3 vs git/hg HEAD colors are much darker?
Sparks


Joined: 01 Jun 2013
Posts: 47
Driedfruit wrote:
Platform/renderer backend? First thing coming to mind is the ImageIO
gamma fix on OSX, although I don't remember when exactly was that
committed.

Using openGL directly, SDL 2 just sets up the window.
No SDL calls to draw anything.
SDL 2.0.3 vs git/hg HEAD colors are much darker?
Driedfruit
Guest

On Sun, 01 Mar 2015 18:12:44 +0000
"Sparks" wrote:

Quote:

Driedfruit wrote:
Quote:
Platform/renderer backend? First thing coming to mind is the ImageIO
gamma fix on OSX, although I don't remember when exactly was that
committed.


Using openGL directly, SDL 2 just sets up the window.
No SDL calls to draw anything.


Are you using SDL_Image when loading textures?

--
driedfruit
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Re: SDL 2.0.3 vs git/hg HEAD colors are much darker?
Sparks


Joined: 01 Jun 2013
Posts: 47
Driedfruit wrote:
On Sun, 01 Mar 2015 18:12:44 +0000
Are you using SDL_Image when loading textures?

Nope, nothing SDL related to load textures.
SDL only handles input & screen setup, nothing else.