aboutsummaryrefslogtreecommitdiff
path: root/tests/sdl_canvas.c
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-25 09:17:30 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-03-25 09:17:30 -0700
commit0540b2cd86b79a5dc5b46328471654d00c36878d (patch)
tree28e0aab22822327ee8be3a7676f5ad6a58060b4b /tests/sdl_canvas.c
parent3d4bee26b5ce8fd8157224de97c9f2292abcdf5f (diff)
disable alpha in font rendering
Diffstat (limited to 'tests/sdl_canvas.c')
-rw-r--r--tests/sdl_canvas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sdl_canvas.c b/tests/sdl_canvas.c
index 6c6adc2d..ab1340a8 100644
--- a/tests/sdl_canvas.c
+++ b/tests/sdl_canvas.c
@@ -12,9 +12,9 @@ int main() {
TTF_Font *font = TTF_OpenFont("myfont.ttf", 40);
printf("Font: %p\n", font);
- SDL_Color color = { 0xff, 0x99, 0x00, 0x4f };
+ SDL_Color color = { 0xff, 0x99, 0x00, 0xff };
- SDL_Surface *text = TTF_RenderText_Solid(font, "hello faint orange world", color);
+ SDL_Surface *text = TTF_RenderText_Solid(font, "hello orange world", color);
SDL_Color color2 = { 0xbb, 0, 0xff, 0xff };
SDL_Surface *text2 = TTF_RenderText_Solid(font, "a second line, purple", color2);