Scale the glsl crosshairs to match gl.

This commit is contained in:
Bill Currie 2012-12-12 21:37:55 +09:00
parent f71affdfba
commit cb259823af

View file

@ -535,8 +535,8 @@ draw_crosshair_pic (int ch, int x, int y)
}; };
const int *p = pos[ch - 1]; const int *p = pos[ch - 1];
draw_pic (x - CROSSHAIR_WIDTH / 2, y - CROSSHAIR_HEIGHT / 2, draw_pic (x - CROSSHAIR_WIDTH + 1, y - CROSSHAIR_HEIGHT + 1,
CROSSHAIR_WIDTH, CROSSHAIR_HEIGHT, crosshair_pic, CROSSHAIR_WIDTH * 2, CROSSHAIR_HEIGHT * 2, crosshair_pic,
p[0], p[1], p[2], p[3], crosshair_color); p[0], p[1], p[2], p[3], crosshair_color);
} }