Forráskód Böngészése

Merge pull request #926 from code-disaster/fix-bgfx_caps_t

Fixed order of fields in bgfx_caps_t not matching bgfx::Caps
Branimir Karadžić 9 éve
szülő
commit
07c83aad3f
1 módosított fájl, 2 hozzáadás és 2 törlés
  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];