Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/util/windows/test_utils_winuwp.cpp
1693 views
1
//
2
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
3
// Use of this source code is governed by a BSD-style license that can be
4
// found in the LICENSE file.
5
//
6
// test_utils_uwp.cpp: Implementation of test utility functions for WinUWP.
7
8
#include "util/test_utils.h"
9
10
namespace angle
11
{
12
void PrintStackBacktrace()
13
{
14
// Not available on UWP
15
}
16
17
void InitCrashHandler(CrashCallback *callback)
18
{
19
// Not available on UWP
20
}
21
22
void TerminateCrashHandler()
23
{
24
// Not available on UWP
25
}
26
27
int NumberOfProcessors()
28
{
29
// A portable implementation could probably use GetLogicalProcessorInformation
30
return 1;
31
}
32
} // namespace angle
33
34