SDL 2.0.3 vs git/hg HEAD colors are much darker?

[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?

Sparks wrote:

[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().

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:

Sparks wrote:

[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

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.

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.

Are you using SDL_Image when loading textures?On Sun, 01 Mar 2015 18:12:44 +0000 “Sparks” wrote:


driedfruit

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.