aboutsummaryrefslogtreecommitdiff
path: root/tests/sdl_mouse.c
diff options
context:
space:
mode:
authorEhsan Akhgari <ehsan.akhgari@gmail.com>2012-03-26 14:03:00 -0700
committerEhsan Akhgari <ehsan.akhgari@gmail.com>2012-03-26 14:03:00 -0700
commit25eb3f0f8088fb30bdcc04a27232fd3bfd375fca (patch)
tree0ec3300d611bf1a9cf8c695ef1420e75817524a9 /tests/sdl_mouse.c
parente3334b5feebbb539356e0369af70b73dbbf37d52 (diff)
parenta917dfed44433c18e4a1dec0985482f8d7d06c09 (diff)
Merge remote-tracking branch 'upstream/incoming' into playchannel
Conflicts: src/library_sdl.js
Diffstat (limited to 'tests/sdl_mouse.c')
-rw-r--r--tests/sdl_mouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sdl_mouse.c b/tests/sdl_mouse.c
index a0520839..dae3f636 100644
--- a/tests/sdl_mouse.c
+++ b/tests/sdl_mouse.c
@@ -44,7 +44,7 @@ int main() {
SDL_Surface *screen = SDL_SetVideoMode(600, 450, 32, SDL_HWSURFACE);
SDL_Rect rect = { 0, 0, 600, 450 };
- SDL_FillRect(screen, &rect, 0x2244ff00);
+ SDL_FillRect(screen, &rect, 0x2244ffff);
emscripten_run_script("simulateMouseEvent(10, 20, -1)"); // move from 0,0 to 10,20
emscripten_run_script("simulateMouseEvent(10, 20, 0)"); // click