diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-03-24 19:33:06 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-03-24 19:33:06 -0700 |
commit | a7bc331fac817437fcaaeaffcad7dd4b5cb75d84 (patch) | |
tree | 311e22767163e97627464db7ff4a1d21104f4ec2 /tests/sdl_canvas.c | |
parent | b88b4035ddf5a8aad6391f68fa809a06b510daa3 (diff) |
support for rgba in sdl
Diffstat (limited to 'tests/sdl_canvas.c')
-rw-r--r-- | tests/sdl_canvas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sdl_canvas.c b/tests/sdl_canvas.c index ae617604..aaa9d653 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, 0x77 }; + SDL_Color color = { 0xff, 0x99, 0x00, 0xb0 }; - SDL_Surface *text = TTF_RenderText_Solid(font, "hello orange world", color); + SDL_Surface *text = TTF_RenderText_Solid(font, "hello faint orange world", color); SDL_Color color2 = { 0xbb, 0, 0xff, 0 }; SDL_Surface *text2 = TTF_RenderText_Solid(font, "a second line, purple", color2); |