mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Cleanup.
This commit is contained in:
parent
b98d3b6978
commit
6645401876
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ struct OcornutImguiContext
|
|||
, uint16_t(bx::fmin(pcmd->ClipRect.z, 65535.0f)-bx::fmax(pcmd->ClipRect.x, 0.0f))
|
||||
, uint16_t(bx::fmin(pcmd->ClipRect.w, 65535.0f)-bx::fmax(pcmd->ClipRect.y, 0.0f))
|
||||
);
|
||||
union { void* ptr; bgfx::TextureHandle handle; } texture ={ pcmd->TextureId };
|
||||
union { void* ptr; bgfx::TextureHandle handle; } texture = { pcmd->TextureId };
|
||||
|
||||
bgfx::setTexture(0, s_tex, 0 != texture.handle.idx
|
||||
? texture.handle
|
||||
|
|
Loading…
Reference in a new issue