Skip to content

Commit

Permalink
Move Device print to try catch
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolique committed Feb 23, 2024
1 parent 9d7f7cf commit f0b7979
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Game/GameRoot.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Apos.Camera;
using Apos.Camera;
using Apos.Input;
using Track = Apos.Input.Track;
using Apos.Shapes;
Expand Down Expand Up @@ -48,9 +48,8 @@ protected override void Initialize() {
SDL2.SDL.SDL_VERSION(out systemInfo.version);
SDL2.SDL.SDL_GetWindowWMInfo(Window.Handle, ref systemInfo);

Console.WriteLine($"Device {CWintabInfo.GetDeviceInfo()}");

try {
Console.WriteLine($"Device {CWintabInfo.GetDeviceInfo()}");
_logContext = CWintabInfo.GetDefaultSystemContext(ECTXOptionValues.CXO_MESSAGES);
_logContext.Open(systemInfo.info.win.window, true);
Console.WriteLine($"Context: {_logContext.HCtx}");
Expand Down

0 comments on commit f0b7979

Please sign in to comment.