mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 10:20:52 +00:00
This commit is contained in:
@@ -4995,6 +4995,16 @@ namespace bgfx
|
||||
, ii
|
||||
, tr.m_flags
|
||||
);
|
||||
|
||||
BGFX_ERROR_CHECK(
|
||||
0 == (at.resolve & BGFX_RESOLVE_AUTO_GEN_MIPS)
|
||||
, _err
|
||||
, BGFX_ERROR_FRAME_BUFFER_VALIDATION
|
||||
, "Frame buffer depth attachment cannot use `BGFX_RESOLVE_AUTO_GEN_MIPS`. Depth textures do not support MSAA resolve."
|
||||
, "Attachment %d, resolve flags 0x%02x."
|
||||
, ii
|
||||
, at.resolve
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user