mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Chore] (MG_State/Texture): explicitly specify value for enums
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace MobileGL {
|
||||
enum class TextureTarget {
|
||||
Texture1D,
|
||||
Texture1D = 0,
|
||||
Texture2D,
|
||||
Texture3D,
|
||||
TextureCubeMap,
|
||||
@@ -20,7 +20,7 @@ namespace MobileGL {
|
||||
// Don't tinker with order in this enum (especially CubeMap faces),
|
||||
// it is used in MipmapUploadTargetArray
|
||||
enum class TextureUploadTarget {
|
||||
Texture1D,
|
||||
Texture1D = 0,
|
||||
Texture2D,
|
||||
Texture3D,
|
||||
ProxyTexture1D,
|
||||
|
||||
Reference in New Issue
Block a user