diff options
Diffstat (limited to 'spectro/dispwin.c')
-rw-r--r-- | spectro/dispwin.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/spectro/dispwin.c b/spectro/dispwin.c index fffbaee..69536f3 100644 --- a/spectro/dispwin.c +++ b/spectro/dispwin.c @@ -3624,9 +3624,6 @@ static void create_my_win(NSRect rect, osx_cntx_t *cx) { [cx->view setCntx:(void *)cx]; [cx->window setContentView: cx->view]; - /* Moves the window to the front of the screen list within its level, */ - /* and show the window (i.e. make it "key") */ - /* Trigger crash on OS X 10.11 El Capitan ? */ [cx->window makeKeyAndOrderFront: nil]; /* Use a null color transform to ensure device values */ @@ -6454,7 +6451,7 @@ main(int argc, char *argv[]) { /* Try darkening it */ for (j = 0; j < 3; j++) { for (i = 0; i < dw->r->nent; i++) { - dw->r->v[j][i] = pow(dw->or->v[j][i], 1.6); + dw->r->v[j][i] = pow(dw->or->v[j][i], 2.0); } } printf("Darkening screen\n"); @@ -6467,7 +6464,7 @@ main(int argc, char *argv[]) { /* Try lightening it */ for (j = 0; j < 3; j++) { for (i = 0; i < dw->r->nent; i++) { - dw->r->v[j][i] = pow(dw->or->v[j][i], 0.625); + dw->r->v[j][i] = pow(dw->or->v[j][i], 0.5); } } printf("Lightening screen\n"); |