src/video/x11/SDL_x11modes.c
changeset 10780 4ea5472ed455
parent 10746 95c57a177719
child 11177 393fa47cb702
     1.1 --- a/src/video/x11/SDL_x11modes.c	Sat Jan 07 16:51:48 2017 -0800
     1.2 +++ b/src/video/x11/SDL_x11modes.c	Sat Jan 07 17:09:14 2017 -0500
     1.3 @@ -741,9 +741,9 @@
     1.4          displaydata->visual = vinfo.visual;
     1.5          displaydata->depth = vinfo.depth;
     1.6  
     1.7 -        // We use the displaydata screen index here so that this works
     1.8 -        // for both the Xinerama case, where we get the overall DPI,
     1.9 -        // and the regular X11 screen info case.
    1.10 +        /* We use the displaydata screen index here so that this works
    1.11 +           for both the Xinerama case, where we get the overall DPI,
    1.12 +           and the regular X11 screen info case. */
    1.13          displaydata->hdpi = (float)DisplayWidth(data->display, displaydata->screen) * 25.4f /
    1.14              DisplayWidthMM(data->display, displaydata->screen);
    1.15          displaydata->vdpi = (float)DisplayHeight(data->display, displaydata->screen) * 25.4f /