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
14.59k stars 1.92k forks source link

use BX_MAKEFOURCC in shaderc_hlsl.cpp #3293

Closed 0Alastair1 closed 1 month ago

0Alastair1 commented 1 month 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.