Gamma support is back!

New API functions:
	SDL_SetWindowBrightness()
	SDL_GetWindowBrightness()
	SDL_SetWindowGammaRamp()
	SDL_GetWindowGammaRamp()
	SDL_CalculateGammaRamp()
This commit is contained in:
Sam Lantinga 2011-03-11 08:49:20 -08:00
parent 2f6aa755d6
commit 7dd0385c57
21 changed files with 703 additions and 26 deletions

View file

@ -23,6 +23,7 @@ TARGETS = \
testerror$(EXE) \
testfile$(EXE) \
testfill$(EXE) \
testgamma$(EXE) \
testgesture$(EXE) \
testgl$(EXE) \
testgl2$(EXE) \
@ -119,6 +120,9 @@ testfile$(EXE): $(srcdir)/testfile.c
testfill$(EXE): $(srcdir)/testfill.c
$(CC) -o $@ $? $(CFLAGS) $(LIBS)
testgamma$(EXE): $(srcdir)/testgamma.c
$(CC) -o $@ $? $(CFLAGS) $(LIBS)
testgesture$(EXE): $(srcdir)/testgesture.c
$(CC) -o $@ $? $(CFLAGS) $(LIBS) @MATHLIB@