mirror of
https://github.com/encounter/SDL.git
synced 2025-12-17 00:47:15 +00:00
Replaced a few single-line "//" comments.
This commit is contained in:
@@ -741,9 +741,9 @@ X11_InitModes(_THIS)
|
||||
displaydata->visual = vinfo.visual;
|
||||
displaydata->depth = vinfo.depth;
|
||||
|
||||
// We use the displaydata screen index here so that this works
|
||||
// for both the Xinerama case, where we get the overall DPI,
|
||||
// and the regular X11 screen info case.
|
||||
/* We use the displaydata screen index here so that this works
|
||||
for both the Xinerama case, where we get the overall DPI,
|
||||
and the regular X11 screen info case. */
|
||||
displaydata->hdpi = (float)DisplayWidth(data->display, displaydata->screen) * 25.4f /
|
||||
DisplayWidthMM(data->display, displaydata->screen);
|
||||
displaydata->vdpi = (float)DisplayHeight(data->display, displaydata->screen) * 25.4f /
|
||||
|
||||
Reference in New Issue
Block a user