Skip to content

Commit

Permalink
Fix -wmissing-braces warning on Clang
Browse files Browse the repository at this point in the history
  • Loading branch information
mlabbe committed Jan 31, 2022
1 parent 1f3d3a8 commit 7d77ac1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sokol_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -5674,9 +5674,9 @@ _SOKOL_PRIVATE void _sapp_win32_uwp_init_keytable(void) {
#define _SAPP_SAFE_RELEASE(obj) if (obj) { _sapp_d3d11_Release(obj); obj=0; }


static const IID _sapp_IID_ID3D11Texture2D = { 0x6f15aaf2,0xd208,0x4e89,0x9a,0xb4,0x48,0x95,0x35,0xd3,0x4f,0x9c };
static const IID _sapp_IID_IDXGIDevice1 = { 0x77db970f,0x6276,0x48ba,0xba,0x28,0x07,0x01,0x43,0xb4,0x39,0x2c };
static const IID _sapp_IID_IDXGIFactory = { 0x7b7166ec,0x21c7,0x44ae,0xb2,0x1a,0xc9,0xae,0x32,0x1a,0xe3,0x69 };
static const IID _sapp_IID_ID3D11Texture2D = { 0x6f15aaf2,0xd208,0x4e89, {0x9a,0xb4,0x48,0x95,0x35,0xd3,0x4f,0x9c} };
static const IID _sapp_IID_IDXGIDevice1 = { 0x77db970f,0x6276,0x48ba, {0xba,0x28,0x07,0x01,0x43,0xb4,0x39,0x2c} };
static const IID _sapp_IID_IDXGIFactory = { 0x7b7166ec,0x21c7,0x44ae, {0xb2,0x1a,0xc9,0xae,0x32,0x1a,0xe3,0x69} };

static inline HRESULT _sapp_dxgi_GetBuffer(IDXGISwapChain* self, UINT Buffer, REFIID riid, void** ppSurface) {
#if defined(__cplusplus)
Expand Down

0 comments on commit 7d77ac1

Please sign in to comment.