QtRhi: make two plain arrays inline and constexpr
In the current case they can be inline and constexpr. Pick-to: 6.4 Task-number: QTBUG-100485 Change-Id: I8c200c0a756edbff914c4be8ba08fe6afbd61114 Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
parent
2093d65a80
commit
f003e25258
@ -70,7 +70,7 @@ ret
|
||||
// Approximately 5 instruction slots used
|
||||
#endif
|
||||
|
||||
const BYTE g_killDeviceByTimingOut[] =
|
||||
inline constexpr BYTE g_killDeviceByTimingOut[] =
|
||||
{
|
||||
68, 88, 66, 67, 217, 62,
|
||||
220, 38, 136, 51, 86, 245,
|
||||
|
@ -76,7 +76,7 @@ ret
|
||||
// Approximately 6 instruction slots used
|
||||
#endif
|
||||
|
||||
const BYTE g_testVertexShader[] =
|
||||
inline constexpr BYTE g_testVertexShader[] =
|
||||
{
|
||||
68, 88, 66, 67, 75, 198,
|
||||
18, 149, 172, 244, 247, 123,
|
||||
|
Loading…
Reference in New Issue
Block a user