bkaradzic / bgfx

Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
https://bkaradzic.github.io/bgfx/overview.html
BSD 2-Clause "Simplified" License
15.05k stars 1.94k forks source link

use BX_MAKEFOURCC in shaderc_hlsl.cpp #3293

Closed 0Alastair1 closed 5 months ago

0Alastair1 commented 5 months ago

Fixes "error: 'MAKEFOURCC' was not declared in this scope", when compiling with mingw64. The macro (in the bx library) is slightly different from the one found in the system header (which isn't included in the source), but with values under a byte, the result is the same.