Преглед изворни кода

Fixed order of fields in bgfx_caps_t not matching bgfx::Caps

Daniel Ludwig пре 9 година
родитељ
комит
0d4c2063b5
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      include/bgfx/c99/bgfx.h

+ 2 - 2
include/bgfx/c99/bgfx.h

@@ -418,11 +418,11 @@ typedef struct bgfx_caps
     uint16_t maxViews;
     uint8_t  maxFBAttachments;
     uint8_t  numGPUs;
+    uint16_t vendorId;
+    uint16_t deviceId;
     bool     homogeneousDepth;
     bool     originBottomLeft;
 
-    uint16_t vendorId;
-    uint16_t deviceId;
     bgfx_caps_gpu_t gpu[4];
 
     uint16_t formats[BGFX_TEXTURE_FORMAT_COUNT];