fna-workbench

fna-workbench Commit Details


Date:2016-02-04 13:53:51 (9 years 7 months ago)
Author:Ethan Lee
Branch:master
Commit:6d2d2abe6dc0827c726548641a236d22b25ec726
Parents: f97d61db521467d9e6adb4ea9cdfee7320a2cace
Message:IsDefaultAdapter implemented... again

Changes:

File differences

src/Graphics/GraphicsAdapter.cs
5454
5555
5656
57
58
57
58
59
60
5961
6062
6163
......
161163
162164
163165
164
165
166
166167
167168
168169
169170
170
171171
172172
173173
public bool IsDefaultAdapter
{
get;
private set;
get
{
return this == DefaultAdapter;
}
}
/// <summary>
internal GraphicsAdapter(
DisplayMode currentMode,
DisplayModeCollection modes,
string description,
bool isDefault
string description
) {
CurrentDisplayMode = currentMode;
SupportedDisplayModes = modes;
Description = description;
IsDefaultAdapter = isDefault;
UseNullDevice = false;
UseReferenceDevice = false;
}
src/SDL2/SDL2_FNAPlatform.cs
521521
522522
523523
524
525
524
526525
527526
528527
SurfaceFormat.Color // FIXME: Assumption!
),
new DisplayModeCollection(modes),
SDL.SDL_GetDisplayName(i),
i == 0
SDL.SDL_GetDisplayName(i)
);
}
return adapters;

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.30409s using 13 queries.