fna-workbench

fna-workbench Commit Details


Date:2016-02-04 13:50:46 (9 years 7 months ago)
Author:Ethan Lee
Branch:master
Commit:f97d61db521467d9e6adb4ea9cdfee7320a2cace
Parents: b2ace81c8a0b2e7fe1694c3cd2bd8d35e1328f71
Message:GraphicsAdapter.IsDefaultAdapter implemented

Changes:

File differences

src/Graphics/GraphicsAdapter.cs
5454
5555
5656
57
58
59
60
57
58
6159
6260
6361
......
163161
164162
165163
166
164
165
167166
168167
169168
170169
170
171171
172172
173173
public bool IsDefaultAdapter
{
get
{
throw new NotImplementedException();
}
get;
private set;
}
/// <summary>
internal GraphicsAdapter(
DisplayMode currentMode,
DisplayModeCollection modes,
string description
string description,
bool isDefault
) {
CurrentDisplayMode = currentMode;
SupportedDisplayModes = modes;
Description = description;
IsDefaultAdapter = isDefault;
UseNullDevice = false;
UseReferenceDevice = false;
}
src/SDL2/SDL2_FNAPlatform.cs
521521
522522
523523
524
524
525
525526
526527
527528
SurfaceFormat.Color // FIXME: Assumption!
),
new DisplayModeCollection(modes),
SDL.SDL_GetDisplayName(i)
SDL.SDL_GetDisplayName(i),
i == 0
);
}
return adapters;

Archive Download the corresponding diff file

Branches

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