mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 18:25:38 +00:00
Fixed spelling of hertz and fps. Fixes issue [#1333]: "Spelling of SI units in documentation and captions". Patch by iRBiS.
This commit is contained in:
parent
9055ac0686
commit
7c82f66942
|
@ -257,7 +257,7 @@ namespace Examples.Tutorial
|
|||
|
||||
protected override void OnRenderFrame( FrameEventArgs e )
|
||||
{
|
||||
this.Title = WindowTitle + " fps: " + ( 1f / e.Time ).ToString("0.");
|
||||
this.Title = WindowTitle + " FPS: " + ( 1f / e.Time ).ToString("0.");
|
||||
|
||||
MySphereZOffset += (float)( e.Time * 3.1 );
|
||||
MySphereXOffset += (float)( e.Time * 4.2 );
|
||||
|
|
|
@ -167,7 +167,7 @@ namespace OpenTK
|
|||
/// <param name="width">The width of the requested resolution in pixels.</param>
|
||||
/// <param name="height">The height of the requested resolution in pixels.</param>
|
||||
/// <param name="bitsPerPixel">The bits per pixel of the requested resolution.</param>
|
||||
/// <param name="refreshRate">The refresh rate of the requested resolution in Herz.</param>
|
||||
/// <param name="refreshRate">The refresh rate of the requested resolution in hertz.</param>
|
||||
/// <returns>The requested DisplayResolution or null if the parameters cannot be met.</returns>
|
||||
/// <remarks>
|
||||
/// <para>If a matching resolution is not found, this function will retry ignoring the specified refresh rate,
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace OpenTK
|
|||
/// <param name="width">The requested width in pixels.</param>
|
||||
/// <param name="height">The requested height in pixels.</param>
|
||||
/// <param name="bitsPerPixel">The requested bits per pixel in bits.</param>
|
||||
/// <param name="refreshRate">The requested refresh rate in Herz.</param>
|
||||
/// <param name="refreshRate">The requested refresh rate in hertz.</param>
|
||||
/// <remarks>OpenTK will select the closest match between all available resolutions on the specified DisplayDevice.</remarks>
|
||||
///
|
||||
public DisplayResolution(int width, int height, int bitsPerPixel, float refreshRate, DisplayDevice device)
|
||||
|
|
|
@ -616,7 +616,7 @@ namespace OpenTK
|
|||
#region RenderFrequency
|
||||
|
||||
/// <summary>
|
||||
/// Gets a double representing the actual frequency of RenderFrame events, in Herz (i.e. FPS or Frames Per Second).
|
||||
/// Gets a double representing the actual frequency of RenderFrame events, in hertz (i.e. fps or frames per second).
|
||||
/// </summary>
|
||||
public double RenderFrequency
|
||||
{
|
||||
|
@ -671,7 +671,7 @@ namespace OpenTK
|
|||
#region TargetRenderFrequency
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a double representing the target render frequency, in Herz.
|
||||
/// Gets or sets a double representing the target render frequency, in hertz.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>A value of 0.0 indicates that RenderFrame events are generated at the maximum possible frequency (i.e. only limited by the hardware's capabilities).</para>
|
||||
|
@ -739,7 +739,7 @@ namespace OpenTK
|
|||
#region TargetUpdateFrequency
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a double representing the target update frequency, in Herz.
|
||||
/// Gets or sets a double representing the target update frequency, in hertz.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <para>A value of 0.0 indicates that UpdateFrame events are generated at the maximum possible frequency (i.e. only limited by the hardware's capabilities).</para>
|
||||
|
@ -807,7 +807,7 @@ namespace OpenTK
|
|||
#region UpdateFrequency
|
||||
|
||||
/// <summary>
|
||||
/// Gets a double representing the frequency of UpdateFrame events, in Herz.
|
||||
/// Gets a double representing the frequency of UpdateFrame events, in hertz.
|
||||
/// </summary>
|
||||
public double UpdateFrequency
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue