mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fix MSAA with ARM Mali OpenGL ES (#2818)
* Fix MSAA with ARM Mali OpenGL ES * indenting
This commit is contained in:
@@ -1288,6 +1288,11 @@ public static class bgfx
|
||||
/// Microsoft adapter.
|
||||
/// </summary>
|
||||
Microsoft = 0x1414,
|
||||
|
||||
/// <summary>
|
||||
/// ARM adapter.
|
||||
/// </summary>
|
||||
Arm = 0x13b5,
|
||||
}
|
||||
|
||||
[AllowDuplicates]
|
||||
|
||||
@@ -1287,6 +1287,11 @@ public static partial class bgfx
|
||||
/// Microsoft adapter.
|
||||
/// </summary>
|
||||
Microsoft = 0x1414,
|
||||
|
||||
/// <summary>
|
||||
/// ARM adapter.
|
||||
/// </summary>
|
||||
Arm = 0x13b5,
|
||||
}
|
||||
|
||||
[Flags]
|
||||
|
||||
@@ -438,6 +438,7 @@ enum ushort BGFX_PCI_ID_APPLE = 0x106b; /// Apple adapter.
|
||||
enum ushort BGFX_PCI_ID_INTEL = 0x8086; /// Intel adapter.
|
||||
enum ushort BGFX_PCI_ID_NVIDIA = 0x10de; /// nVidia adapter.
|
||||
enum ushort BGFX_PCI_ID_MICROSOFT = 0x1414; /// Microsoft adapter.
|
||||
enum ushort BGFX_PCI_ID_ARM = 0x13b5; /// ARM adapter.
|
||||
|
||||
enum ubyte BGFX_CUBE_MAP_POSITIVE_X = 0x00; /// Cubemap +x.
|
||||
enum ubyte BGFX_CUBE_MAP_NEGATIVE_X = 0x01; /// Cubemap -x.
|
||||
|
||||
@@ -789,6 +789,9 @@ pub const PciIdFlags_Nvidia: PciIdFlags = 0x10de;
|
||||
/// Microsoft adapter.
|
||||
pub const PciIdFlags_Microsoft: PciIdFlags = 0x1414;
|
||||
|
||||
/// ARM adapter.
|
||||
pub const PciIdFlags_Arm: PciIdFlags = 0x13b5;
|
||||
|
||||
pub const CubeMapFlags = u32;
|
||||
/// Cubemap +x.
|
||||
pub const CubeMapFlags_PositiveX: CubeMapFlags = 0x00000000;
|
||||
|
||||
Reference in New Issue
Block a user