diff options
author | epoch <epoch@hacking.allowed.org> | 2020-10-11 01:39:06 -0500 |
---|---|---|
committer | epoch <epoch@hacking.allowed.org> | 2020-10-11 01:39:06 -0500 |
commit | 16ee776dc021c8fa20bc6d344d7f585d371e9553 (patch) | |
tree | e62efaa3b665302527fc13af19021742645d6a41 /src/graphics_c3.c | |
parent | c27f40e7f2d20b0a576ece53e9bdeacc7b40da9e (diff) | |
download | hackvr-16ee776dc021c8fa20bc6d344d7f585d371e9553.tar.gz hackvr-16ee776dc021c8fa20bc6d344d7f585d371e9553.zip |
moved the bounding-box checking-code from driver-specific files into math.c, moved the check and hilighting to driver-agnostic place.
Diffstat (limited to 'src/graphics_c3.c')
-rw-r--r-- | src/graphics_c3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics_c3.c b/src/graphics_c3.c index 72a03e3..e31233c 100644 --- a/src/graphics_c3.c +++ b/src/graphics_c3.c @@ -457,7 +457,7 @@ void draw_screen() { //} } //we check here to see if the mouse button is still down - if(gra_global.mousemap[MOUSE_PRIMARY]==-1) {//0 in x11 + if(gra_global.mousemap[MOUSE_PRIMARY]==-1) { printf("%s action %f %f\n",global.user,gra_global.mouse.x,gra_global.mouse.y); gra_global.mousemap[MOUSE_PRIMARY]=0; } |